examples/test.rb in stateflow-0.0.1 vs examples/test.rb in stateflow-0.0.2
- old
+ new
@@ -33,10 +33,10 @@
transitions :from => [:hate, :mixed], :to => :love
end
end
def likes_ice_cream?
- rand(10) > 5 ? :mixed : :hate
+ rand(10) > 5 ? :mixeds : :hate
end
def exit_love
p "Exiting love"
end
\ No newline at end of file