mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
19 lines
320 B
Text
19 lines
320 B
Text
Overwrite method to read the current state
|
|
|
|
class MyClass
|
|
include AASM
|
|
|
|
def aasm_read_state
|
|
# retrieve the current state manually
|
|
end
|
|
end
|
|
|
|
Overwrite method to write the current state
|
|
|
|
class MyClass
|
|
include AASM
|
|
|
|
def aasm_write_state
|
|
# store the current state manually
|
|
end
|
|
end
|