Module: SimpleStateMachine::Tools::Inspector
- Included in:
- StateMachineDefinition
- Defined in:
- lib/simple_state_machine/tools/inspector.rb
Instance Method Summary collapse
Instance Method Details
#begin_states ⇒ Object
4 5 6 |
# File 'lib/simple_state_machine/tools/inspector.rb', line 4 def begin_states from_states - to_states end |
#end_states ⇒ Object
8 9 10 |
# File 'lib/simple_state_machine/tools/inspector.rb', line 8 def end_states to_states - from_states end |
#states ⇒ Object
12 13 14 |
# File 'lib/simple_state_machine/tools/inspector.rb', line 12 def states (to_states + from_states).uniq end |