Add #to_s to event
This commit is contained in:
parent
6a3aef9526
commit
252ade3a20
|
@ -110,6 +110,10 @@ module AASM::Core
|
|||
transitions.flat_map(&:failures)
|
||||
end
|
||||
|
||||
def to_s
|
||||
name.to_s
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def attach_event_guards(definitions)
|
||||
|
|
Loading…
Reference in New Issue