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.



45
46
47
48
# File 'lib/benchmark/driver/configuration.rb', line 45

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

Instance Attribute Details

#bundlerObject

Returns the value of attribute bundler

Returns:

  • (Object)

    the current value of bundler



44
45
46
# File 'lib/benchmark/driver/configuration.rb', line 44

def bundler
  @bundler
end

#executablesObject

Returns the value of attribute executables

Returns:

  • (Object)

    the current value of executables



44
45
46
# File 'lib/benchmark/driver/configuration.rb', line 44

def executables
  @executables
end

#repeat_countObject

Returns the value of attribute repeat_count

Returns:

  • (Object)

    the current value of repeat_count



44
45
46
# File 'lib/benchmark/driver/configuration.rb', line 44

def repeat_count
  @repeat_count
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



44
45
46
# File 'lib/benchmark/driver/configuration.rb', line 44

def type
  @type
end

Instance Method Details

#executables_specified?Boolean

Returns:

  • (Boolean)


50
51
52
# File 'lib/benchmark/driver/configuration.rb', line 50

def executables_specified?
  executables != DEFAULT_EXECUTABLES
end