Fix FA#to_s to show correct destination state

This commit is contained in:
josh committed 2021-06-23 22:21:53 -04:00
1 parent 5fecd5c6a2
commit ebc1d8f001
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ module Imbecile
end
end
accepts_s = transition.destination.accepts ? " #{transition.destination.accepts}" : ""
rv += " #{range_s} => #{id}#{accepts_s}\n"
rv += " #{range_s} => #{states[transition.destination]}#{accepts_s}\n"
end
end
rv