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
1 changed files with 4 additions and 0 deletions

View File

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