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

- (Suite) initialize(config, benchmarks)



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

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

Instance Attribute Details

- (Object) benchmarks (readonly)

Returns the value of attribute benchmarks



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

def benchmarks
  @benchmarks
end

- (Object) config (readonly)

Returns the value of attribute config



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

def config
  @config
end

Instance Method Details

- (Object) files



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

def files
  benchmarks.map(&:path)
end