class Bench::Commands::ListBenchmarks

Public Instance Methods

before(options, existing_measurements) click to toggle source
# File lib/bench9000/commands/list-benchmarks.rb, line 14
def before(options, existing_measurements)
  options.config.benchmarks.values.each do |b|
    puts b.name
  end

  options.config.benchmark_groups.values.each do |g|
    puts g.name + ": " + g.members.map(&:name).join(" ")
  end

  false
end