Class: Benchmark::Driver::Configuration::RunnerOptions
- Inherits:
-
Struct
- Object
- Struct
- Benchmark::Driver::Configuration::RunnerOptions
- Defined in:
- lib/benchmark/driver/configuration.rb
Overview
Instance Attribute Summary collapse
-
#bundler ⇒ Object
Returns the value of attribute bundler.
-
#executables ⇒ Object
Returns the value of attribute executables.
-
#repeat_count ⇒ Object
Returns the value of attribute repeat_count.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
- #executables_specified? ⇒ Boolean
-
#initialize ⇒ RunnerOptions
constructor
A new instance of RunnerOptions.
Constructor Details
#initialize ⇒ RunnerOptions
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
#bundler ⇒ Object
Returns the value of attribute bundler
44 45 46 |
# File 'lib/benchmark/driver/configuration.rb', line 44 def bundler @bundler end |
#executables ⇒ Object
Returns the value of attribute executables
44 45 46 |
# File 'lib/benchmark/driver/configuration.rb', line 44 def executables @executables end |
#repeat_count ⇒ Object
Returns the value of attribute repeat_count
44 45 46 |
# File 'lib/benchmark/driver/configuration.rb', line 44 def repeat_count @repeat_count end |
#type ⇒ Object
Returns the value of attribute type
44 45 46 |
# File 'lib/benchmark/driver/configuration.rb', line 44 def type @type end |
Instance Method Details
#executables_specified? ⇒ Boolean
50 51 52 |
# File 'lib/benchmark/driver/configuration.rb', line 50 def executables_specified? executables != DEFAULT_EXECUTABLES end |