Class: Statecraft::Machine::CompiledGraph

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

Instance Attribute Summary collapse

Instance Attribute Details

#callbacks ⇒ Object

Returns the value of attribute callbacks

Returns:

  • (Object) —

    the current value of callbacks



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

def callbacks
  @callbacks
end

#edges ⇒ Object

Returns the value of attribute edges

Returns:

  • (Object) —

    the current value of edges



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

def edges
  @edges
end

#events ⇒ Object

Returns the value of attribute events

Returns:

  • (Object) —

    the current value of events



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

def events
  @events
end

#initial_state ⇒ Object

Returns the value of attribute initial_state

Returns:

  • (Object) —

    the current value of initial_state



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

def initial_state
  @initial_state
end

#states ⇒ Object

Returns the value of attribute states

Returns:

  • (Object) —

    the current value of states



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

def states
  @states
end