We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
event :start do transition :parked => :in_motion end event :stop do transition :in_motion => :parked end state(:in_motion, value: 0)
I want to get the list of eligible states, such as MyClass.state_machine.events[:stop][:from], get result of [0]
MyClass.state_machine.events[:stop][:from]
[0]