Class: Gisele::VM::Event
- Inherits:
-
Struct
- Object
- Struct
- Gisele::VM::Event
- Defined in:
- lib/gisele/vm/event.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#prog ⇒ Object
Returns the value of attribute prog.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
3 4 5 |
# File 'lib/gisele/vm/event.rb', line 3 def args @args end |
#prog ⇒ Object
Returns the value of attribute prog
3 4 5 |
# File 'lib/gisele/vm/event.rb', line 3 def prog @prog end |
#type ⇒ Object
Returns the value of attribute type
3 4 5 |
# File 'lib/gisele/vm/event.rb', line 3 def type @type end |
Instance Method Details
#to_s ⇒ Object
5 6 7 |
# File 'lib/gisele/vm/event.rb', line 5 def to_s "#{type}[#{prog.puid}](#{args.join(', ')})" end |