Class
Transitions::Machine
In:
lib/transitions/machine.rb
Parent:
Object
Methods
current_state_variable
events_for
fire_event
initial_state
new
update
Attributes
auto_scopes
[R]
events
[RW]
initial_state
[W]
klass
[R]
state_index
[RW]
states
[RW]
Public Class methods
new
(klass, options = {}, &block)
Public Instance methods
current_state_variable
()
events_for
(state)
fire_event
(event, record, persist, *args)
rubocop:disable Metrics/MethodLength
initial_state
()
update
(options = {}, &block)
[Validate]