Module: Benchmark
- Defined in:
- lib/benchmark/inputs.rb,
lib/benchmark/inputs/version.rb
Defined Under Namespace
Modules: Inputs
Class Method Summary collapse
-
.inputs(values, **options) {|job| ... } ⇒ Benchmark::Inputs::Job
Initializes a benchmark Job, and yields the Job to the given block.
Class Method Details
.inputs(values, **options) {|job| ... } ⇒ Benchmark::Inputs::Job
Initializes a benchmark Job, and yields the Job to the given block.
38 39 40 41 42 |
# File 'lib/benchmark/inputs.rb', line 38 def self.inputs(values, **) job = Inputs::Job.new(values, **) yield job job end |