Module: PlainRuby::InstanceMethods
- Defined in:
- lib/interstate_machine/plain_ruby/instance_methods.rb
Instance Attribute Summary collapse
-
#state_machine ⇒ Object
Returns the value of attribute state_machine.
Instance Method Summary collapse
Instance Attribute Details
#state_machine ⇒ Object
Returns the value of attribute state_machine.
3 4 5 |
# File 'lib/interstate_machine/plain_ruby/instance_methods.rb', line 3 def state_machine @state_machine end |
Instance Method Details
#initialize ⇒ Object
5 6 7 8 |
# File 'lib/interstate_machine/plain_ruby/instance_methods.rb', line 5 def initialize super @state_machine = InterstateMachine::StateMachine.new(self) end |
#save ⇒ Object
10 11 |
# File 'lib/interstate_machine/plain_ruby/instance_methods.rb', line 10 def save end |