Module: Benchmark::Runner
- Defined in:
- lib/benchmark/runner.rb
Defined Under Namespace
Class Method Summary collapse
-
.find(name) ⇒ Object
Benchmark::Runner is pluggable.
Class Method Details
.find(name) ⇒ Object
Benchmark::Runner is pluggable. Create ‘Benchmark::Runner::FooBar` as benchmark-runner-foo_bar.gem and specify `runner: foo_bar`.
6 7 8 9 |
# File 'lib/benchmark/runner.rb', line 6 def self.find(name) class_name = Benchmark::Driver::Configuration.camelize(name.to_s) Benchmark::Runner.const_get(class_name, false) end |