Sha256: edb49312dcb9406089b56275cd1a467b3e532d3138111b3e6ad98616e1634c48
Contents?: true
Size: 467 Bytes
Versions: 2
Compression:
Stored size: 467 Bytes
Contents
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/exec'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
benchmark_driver-0.6.1 | lib/benchmark/runner.rb |
benchmark_driver-0.6.0 | lib/benchmark/runner.rb |