mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
18 lines
284 B
Ruby
18 lines
284 B
Ruby
require_relative 'super_class'
|
|
|
|
class SubClassWithMoreStates < SuperClass
|
|
include AASM
|
|
aasm do
|
|
state :foo
|
|
end
|
|
end
|
|
|
|
class SubClassWithMoreStatesMultiple < SuperClassMultiple
|
|
include AASM
|
|
aasm(:left) do
|
|
state :foo
|
|
end
|
|
aasm(:right) do
|
|
state :archived
|
|
end
|
|
end
|