Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
aasm
v0.1.1
AASM
AASMException
Event
EventAlreadyDefinedException
NoSuchEventException
NoSuchStateException
State
StateAlreadyDefinedException
StateMachine
Transition
UnableToChangeState
Built with Crystal 1.9.2
2023-10-08 08:55:02 UTC
module
AASM
Defined in:
aasm.cr
aasm/event.cr
aasm/exceptions.cr
aasm/version.cr
Constant Summary
VERSION
=
"0.1.1"
Instance Method Summary
#aasm
#act_as_state_machine
#fire
(event : Symbol)
#fire!
(event : Symbol)
#next_state
#state
Instance Method Detail
def
aasm
#
[
View source
]
abstract def
act_as_state_machine
#
[
View source
]
def
fire
(event : Symbol)
#
[
View source
]
def
fire!
(event : Symbol)
#
[
View source
]
def
next_state
#
[
View source
]
def
state
#
[
View source
]