Class: Metro::ControlDefinition

Inherits:
Object
  • Object
show all
Defined in:
lib/metro/events/control_definition.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argsObject

Returns the value of attribute args.



3
4
5
# File 'lib/metro/events/control_definition.rb', line 3

def args
  @args
end

#eventObject

Returns the value of attribute event.



3
4
5
# File 'lib/metro/events/control_definition.rb', line 3

def event
  @event
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/metro/events/control_definition.rb', line 3

def name
  @name
end