lib/command.rb in dev_tasks-1.0.23 vs lib/command.rb in dev_tasks-1.0.24

- old
+ new

@@ -33,11 +33,13 @@ timer=Timer.new if self[:input].include?('<%') && self[:input].include?('%>') ruby = self[:input].gsub("<%","").gsub("%>","") begin + puts "eval(#{ruby})" self[:output]=eval(ruby) rescue + puts "unable to eval(#{ruby})" raise "unable to eval(#{ruby})" end #puts " " + timer.elapsed_str self[:elapsed] = timer.elapsed_str \ No newline at end of file