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



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

def callbacks
  @callbacks
end

#edgesObject

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

#eventsObject

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_stateObject

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

#statesObject

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