1
0
Fork 0
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:
Akshay Birajdar 2020-10-26 13:11:59 +05:30 committed by Anil Kumar Maurya
parent 6a3aef9526
commit 252ade3a20

View file

@ -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)