Module: Benchmark
- Defined in:
- lib/benchmark/driver.rb,
lib/benchmark/driver/version.rb
Defined Under Namespace
Modules: Driver, Output, Runner
Class Method Summary collapse
-
.driver(*args, &block) ⇒ Object
RubyDriver entrypoint.
Class Method Details
.driver(*args, &block) ⇒ Object
RubyDriver entrypoint.
56 57 58 59 60 61 |
# File 'lib/benchmark/driver.rb', line 56 def self.driver(*args, &block) dsl = Driver::RubyDslParser.new(*args) block.call(dsl) Driver.run(dsl.configuration) end |