class BigBench::PostProcessor::Environment::Appearings

Lists the appearing attributes for a scope

Attributes

methods[R]
paths[R]
statuses[R]

Public Class Methods

new(scope = :all) click to toggle source
# File lib/bigbench/post_processor/environment.rb, line 390
def initialize scope = :all
  @methods, @statuses, @paths = [], [], []
  
  trackings.each do |tracking|
    next if !(tracking[:benchmark] == scope or scope == :all)
    
    # Add appearing attributes
    @methods  << tracking[:method]
    @statuses << tracking[:status]
    @paths    << tracking[:path]
  end
  
  # Unique attributes
  @methods.uniq!
  @statuses.uniq!
  @paths.uniq!
end