class

AASM::StateMachine

Inherits Reference / Object

Constructors

Instance methods

current_state_name
Source
event(name : Symbol, &)
Source
fire_event(event_name : Symbol, raise_exception = false)
Source
next_state
Source
state(name : Symbol, initial : Bool = false, enter : -> _ | Nil = nil, guard : -> Bool | Nil = nil)
Source