class DBus::FormalParameter
A formal parameter has a name and a type¶ ↑
Attributes
name[R]
@return [#to_s]
type[R]
@return [SingleCompleteType]
Public Class Methods
new(name, type)
click to toggle source
# File lib/dbus/introspect.rb, line 125 def initialize(name, type) @name = name @type = type end
Public Instance Methods
[](index)
click to toggle source
backward compatibility, deprecated
# File lib/dbus/introspect.rb, line 131 def [](index) case index when 0 then name when 1 then type end end