Class: Bench::Commands::ListBenchmarks
- Defined in:
- lib/bench9000/commands/list-benchmarks.rb
Instance Method Summary collapse
Methods inherited from Command
#after, #benchmark_complete, #result
Instance Method Details
#before(options, existing_measurements) ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/bench9000/commands/list-benchmarks.rb', line 14 def before(, existing_measurements) .config.benchmarks.values.each do |b| puts b.name end .config.benchmark_groups.values.each do |g| puts g.name + ": " + g.members.map(&:name).join(" ") end false end |