lib/benchmark_driver/runner/once.rb in benchmark_driver-0.15.4 vs lib/benchmark_driver/runner/once.rb in benchmark_driver-0.15.5
- old
+ new
@@ -25,10 +25,10 @@
# This method is dynamically called by `BenchmarkDriver::JobRunner.run`
# @param [Array<BenchmarkDriver::Default::Job>] jobs
def run(jobs)
jobs = jobs.map do |job|
- Job.new(job.to_h.merge(loop_count: 1)) # to show this on output
+ Job.new(**job.to_h.merge(loop_count: 1)) # to show this on output
end
@output.with_benchmark do
jobs.each do |job|
@output.with_job(name: job.name) do