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 Mar 8, 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
transition to one of many states
not transition at all
If an invalid state is requested, then an ArgumentError is raised.