lib/state_machine.rb in state_machine-0.7.1 vs lib/state_machine.rb in state_machine-0.7.2

- old
+ new

@@ -131,13 +131,9 @@ # vehicle.state_events # => [:ignite] # # vehicle.state_transitions # => [#<StateMachine::Transition attribute=:state event=:ignite from="parked" from_name=:parked to="idling" to_name=:idling>] # vehicle.ignite # vehicle.state_transitions # => [#<StateMachine::Transition attribute=:state event=:park from="idling" from_name=:idling to="parked" to_name=:parked>] - # - # # Include a "no-op" transition for a loopback - # vehicle.state_transitions(true) # => [#<StateMachine::Transition attribute=:state event=nil from="idling" from_name=:idling to="idling" to_name=:idling>, - # #<StateMachine::Transition attribute=:state event=:park from="idling" from_name=:idling to="parked" to_name=:parked>] # # == Attribute initialization # # For most classes, the initial values for state machine attributes are # automatically assigned when a new object is created. However, this