Class: Metro::ControlDefinition
- Inherits:
-
Object
- Object
- Metro::ControlDefinition
- Defined in:
- lib/metro/events/control_definition.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#event ⇒ Object
Returns the value of attribute event.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, event, args) ⇒ ControlDefinition
constructor
A new instance of ControlDefinition.
Constructor Details
#initialize(name, event, args) ⇒ ControlDefinition
Returns a new instance of ControlDefinition.
5 6 7 8 9 |
# File 'lib/metro/events/control_definition.rb', line 5 def initialize(name,event,args) @name = name @event = event @args = args end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
3 4 5 |
# File 'lib/metro/events/control_definition.rb', line 3 def args @args end |
#event ⇒ Object
Returns the value of attribute event.
3 4 5 |
# File 'lib/metro/events/control_definition.rb', line 3 def event @event end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/metro/events/control_definition.rb', line 3 def name @name end |