lib/helper-run-class.rb in canzea-0.1.2 vs lib/helper-run-class.rb in canzea-0.1.3

- old
+ new

@@ -9,11 +9,11 @@ def initialize () @basePath = Pathname.new(Canzea::config[:catalog_location]).realpath @log = Logger.new(Canzea::config[:logging_root] + '/plans.log') end - def runPlan (plan) - plan.each { | plan | + def runPlan (plans) + plans.each { | plan | puts "Running #{plan[:action]}" self.run (plan[:solution], plan[:action], plan[:parameters]) } end