Class: Statecraft::Machine::Callback

Inherits:
Struct
  • Object
show all
Defined in:
lib/statecraft/machine.rb

Instance Attribute Summary collapse

Instance Attribute Details

#eventObject

Returns the value of attribute event

Returns:

  • (Object)

    the current value of event



19
20
21
# File 'lib/statecraft/machine.rb', line 19

def event
  @event
end

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



19
20
21
# File 'lib/statecraft/machine.rb', line 19

def from
  @from
end

#handlerObject

Returns the value of attribute handler

Returns:

  • (Object)

    the current value of handler



19
20
21
# File 'lib/statecraft/machine.rb', line 19

def handler
  @handler
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



19
20
21
# File 'lib/statecraft/machine.rb', line 19

def to
  @to
end