mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
Add #to_s to event
This commit is contained in:
parent
6a3aef9526
commit
252ade3a20
1 changed files with 4 additions and 0 deletions
|
@ -110,6 +110,10 @@ module AASM::Core
|
||||||
transitions.flat_map(&:failures)
|
transitions.flat_map(&:failures)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def to_s
|
||||||
|
name.to_s
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def attach_event_guards(definitions)
|
def attach_event_guards(definitions)
|
||||||
|
|
Loading…
Reference in a new issue