Class: Benchmark::Driver::Configuration::RunnerOptions

Inherits:
Struct
  • Object
show all
Defined in:
lib/benchmark/driver/configuration.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRunnerOptions

Returns a new instance of RunnerOptions.



33
34
35
36
# File 'lib/benchmark/driver/configuration.rb', line 33

def initialize(*)
  super
  self.executables = DEFAULT_EXECUTABLES
end

Instance Attribute Details

#executablesObject

Returns the value of attribute executables

Returns:

  • (Object)

    the current value of executables



32
33
34
# File 'lib/benchmark/driver/configuration.rb', line 32

def executables
  @executables
end

#repeat_countObject

Returns the value of attribute repeat_count

Returns:

  • (Object)

    the current value of repeat_count



32
33
34
# File 'lib/benchmark/driver/configuration.rb', line 32

def repeat_count
  @repeat_count
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



32
33
34
# File 'lib/benchmark/driver/configuration.rb', line 32

def type
  @type
end

Instance Method Details

#executables_specified?Boolean

Returns:

  • (Boolean)


38
39
40
# File 'lib/benchmark/driver/configuration.rb', line 38

def executables_specified?
  executables != DEFAULT_EXECUTABLES
end