lib/function.rb in simplerubysteps-0.0.8 vs lib/function.rb in simplerubysteps-0.0.9

- old
+ new

@@ -8,10 +8,10 @@ puts ENV.inspect if ENV["DEBUG"] puts event if ENV["DEBUG"] puts context.inspect if ENV["DEBUG"] if event["Token"] - $sm.states[event["Task"].to_sym].perform_action event["Input"], event["Token"] + $sm.states[ENV["task"].to_sym].perform_action event["Input"], event["Token"] else - $sm.states[event["Task"].to_sym].perform_action event["Input"] + $sm.states[ENV["task"].to_sym].perform_action event["Input"] end end