mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
9 lines
138 B
Ruby
9 lines
138 B
Ruby
![]() |
class StatesOnOneLineExample
|
||
|
include AASM
|
||
|
|
||
|
aasm :one_line do
|
||
|
state :initial, :initial => true
|
||
|
state :first, :second
|
||
|
end
|
||
|
end
|