Exception: BigBench::PostProcessor::Environment::BenchmarkNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- BigBench::PostProcessor::Environment::BenchmarkNotFound
- Defined in:
- lib/bigbench/post_processor/environment.rb
Overview
Is raised when a benchmark scope block doesn’t find the desired benchmark
Instance Method Summary collapse
-
#initialize(unexistant_benchmark) ⇒ BenchmarkNotFound
constructor
A new instance of BenchmarkNotFound.
- #message ⇒ Object
Constructor Details
#initialize(unexistant_benchmark) ⇒ BenchmarkNotFound
Returns a new instance of BenchmarkNotFound.
31 32 33 |
# File 'lib/bigbench/post_processor/environment.rb', line 31 def initialize(unexistant_benchmark) @unexistant_benchmark = unexistant_benchmark end |
Instance Method Details
#message ⇒ Object
35 36 37 |
# File 'lib/bigbench/post_processor/environment.rb', line 35 def "Could not find Benchmark: '#{@unexistant_benchmark}'. Available benchmarks are: #{BigBench.benchmarks.map{ |b| b.name }.join(', ')}" end |