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



12
13
14
# File 'lib/statecraft/machine.rb', line 12

def callbacks
  @callbacks
end

#edges ⇒ Object

Returns the value of attribute edges

Returns:

  • (Object) —

    the current value of edges



12
13
14
# File 'lib/statecraft/machine.rb', line 12

def edges
  @edges
end

#events ⇒ Object

Returns the value of attribute events

Returns:

  • (Object) —

    the current value of events



12
13
14
# File 'lib/statecraft/machine.rb', line 12

def events
  @events
end

#initial_state ⇒ Object

Returns the value of attribute initial_state

Returns:

  • (Object) —

    the current value of initial_state



12
13
14
# File 'lib/statecraft/machine.rb', line 12

def initial_state
  @initial_state
end

#states ⇒ Object

Returns the value of attribute states

Returns:

  • (Object) —

    the current value of states



12
13
14
# File 'lib/statecraft/machine.rb', line 12

def states
  @states
end