Method: ExcADG::StateMachine#initialize
- Defined in:
- lib/excadg/state_machine.rb
#initialize(name:) ⇒ StateMachine
add states graph to the current object
23 24 25 26 27 28 29 |
# File 'lib/excadg/state_machine.rb', line 23 def initialize name: @state = :new @state_edge_bindings = {} @state_transition_data = {} @name = name end |