Class: Gisele::VM::Event

Inherits:
Struct
  • Object
show all
Defined in:
lib/gisele/vm/event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#argsObject

Returns the value of attribute args



3
4
5
# File 'lib/gisele/vm/event.rb', line 3

def args
  @args
end

#progObject

Returns the value of attribute prog



3
4
5
# File 'lib/gisele/vm/event.rb', line 3

def prog
  @prog
end

#typeObject

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_sObject



5
6
7
# File 'lib/gisele/vm/event.rb', line 5

def to_s
  "#{type}[#{prog.puid}](#{args.join(', ')})"
end