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
CodeMeister edited this page Feb 28, 2023
·
3 revisions
Changing from one state to another is called a transition. The transitions_to
option limits which other states each individual state may transition to.
A state can can transition to:
another single state
one of many states
no state at all
If an invalid state is requested, then an ArgumentError is raised.