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