class DBus::FormalParameter
A formal parameter has a name and a type¶ ↑
Attributes
name[R]
type[R]
Public Class Methods
new(name, type)
click to toggle source
# File lib/dbus/introspect.rb 83 def initialize(name, type) 84 @name = name 85 @type = type 86 end
Public Instance Methods
[](index)
click to toggle source
backward compatibility, deprecated
# File lib/dbus/introspect.rb 89 def [](index) 90 case index 91 when 0 then name 92 when 1 then type 93 end 94 end