You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a transition named :fail and then try to call an invalid transition (the ! version), instead of getting an invalid transition error, you get an undefined method error for [] on EndState::InvalidTransition.
classTestMachine < EndState::StateMachinetransitionopen: :failed,as: :failendTestMachine.new(object).some_random_transition!# undefined method '[]' for EndState::InvalidTransition:Class
The text was updated successfully, but these errors were encountered:
If you have a transition named
:fail
and then try to call an invalid transition (the ! version), instead of getting an invalid transition error, you get an undefined method error for[]
onEndState::InvalidTransition
.The text was updated successfully, but these errors were encountered: