Class: Bench::Commands::ListImplementations

Inherits:
Command
  • Object
show all
Defined in:
lib/bench9000/commands/list-implementations.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-implementations.rb', line 14

def before(options, existing_measurements)
  options.config.implementations.values.each do |i|
    puts i.name
  end

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