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



16
17
18
# File 'lib/statecraft/machine.rb', line 16

def event
  @event
end

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



16
17
18
# File 'lib/statecraft/machine.rb', line 16

def from
  @from
end

#handlerObject

Returns the value of attribute handler

Returns:

  • (Object)

    the current value of handler



16
17
18
# File 'lib/statecraft/machine.rb', line 16

def handler
  @handler
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



16
17
18
# File 'lib/statecraft/machine.rb', line 16

def to
  @to
end