Class: Viiite::Suite

Inherits:
Object
  • Object
show all
Includes:
Unit
Defined in:
lib/viiite/suite.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Unit

#run, #to_enum

Constructor Details

#initialize(config, benchmarks) ⇒ Suite

Returns a new instance of Suite



8
9
10
11
# File 'lib/viiite/suite.rb', line 8

def initialize(config, benchmarks)
  @config     = config
  @benchmarks = benchmarks
end

Instance Attribute Details

#benchmarksObject (readonly)

Returns the value of attribute benchmarks



6
7
8
# File 'lib/viiite/suite.rb', line 6

def benchmarks
  @benchmarks
end

#configObject (readonly)

Returns the value of attribute config



5
6
7
# File 'lib/viiite/suite.rb', line 5

def config
  @config
end

Instance Method Details

#filesObject



13
14
15
# File 'lib/viiite/suite.rb', line 13

def files
  benchmarks.map(&:path)
end