lib/benchmark/runner.rb in benchmark_driver-0.6.1 vs lib/benchmark/runner.rb in benchmark_driver-0.6.2
- old
+ new
@@ -1,14 +1,13 @@
module Benchmark::Runner
# Benchmark::Runner is pluggable.
# Create `Benchmark::Runner::FooBar` as benchmark-runner-foo_bar.gem and specify `runner: foo_bar`.
#
- # Currently this has no options other than Exec, but this will have Eval for sure.
- #
# @param [Symbol] name
def self.find(name)
class_name = Benchmark::Driver::Configuration.camelize(name.to_s)
Benchmark::Runner.const_get(class_name, false)
end
end
+require 'benchmark/runner/call'
require 'benchmark/runner/exec'