Class: Statecraft::Machine::CompiledGraph

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

Instance Attribute Summary collapse

Instance Attribute Details

#callbacksObject

Returns the value of attribute callbacks

Returns:

  • (Object)

    the current value of callbacks



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

def callbacks
  @callbacks
end

#edgesObject

Returns the value of attribute edges

Returns:

  • (Object)

    the current value of edges



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

def edges
  @edges
end

#eventsObject

Returns the value of attribute events

Returns:

  • (Object)

    the current value of events



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

def events
  @events
end

#initial_stateObject

Returns the value of attribute initial_state

Returns:

  • (Object)

    the current value of initial_state



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

def initial_state
  @initial_state
end

#statesObject

Returns the value of attribute states

Returns:

  • (Object)

    the current value of states



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

def states
  @states
end