lib/SimControl/environments/base.rb in SimControl-0.1.3 vs lib/SimControl/environments/base.rb in SimControl-0.1.4
- old
+ new
@@ -1,9 +1,9 @@
module SimControl
class BaseEnvironment
- def simulate(args, seeds)
+ def simulate(scenario, seeds)
seeds.each do |seed|
- execute(args.merge({seed: seed}))
+ execute(scenario.args({seed: seed}))
end
end
end
end