Class: Bench::Commands::Score
- Defined in:
- lib/bench9000/commands/score.rb
Instance Method Summary collapse
Methods inherited from Command
#after, #before, #benchmark_complete
Instance Method Details
#result(options, b, i, measurement) ⇒ Object
14 15 16 17 18 19 20 21 22 |
# File 'lib/bench9000/commands/score.rb', line 14 def result(, b, i, measurement) if measurement == :failed score = "failed" else score = measurement.score end puts "#{b} #{i} #{score}" end |