lib/experiment/runner.rb in experiment-0.3.2 vs lib/experiment/runner.rb in experiment-0.3.3
- old
+ new
@@ -141,11 +141,11 @@
Notify::init @arguments.length * @options.cv, @options.quiet ? false : STDERR, Experiment::Config::get(:growl_notifications, !@options.quiet)
@arguments.each do |exp|
require "./experiments/#{exp}/#{exp}"
cla = eval(as_class_name(exp))
experiment = cla.new :normal, exp, @options
- experiment.normal_run! @options.cv
+ experiment.run! @options.cv
end
Notify::done
end
end
@@ -197,10 +197,10 @@
require "./experiments/experiment"
require "./experiments/#{exp}/#{exp}"
cla = eval(as_class_name(exp))
experiment = cla.new :slave, exp, @options
experiment.master = @master.instance item
- experiment.slave_run!
+ experiment.run! 0
end
end
end