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
-
#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.
33 34 35 36 |
# File 'lib/benchmark/driver/configuration.rb', line 33 def initialize(*) super self.executables = DEFAULT_EXECUTABLES end |
Instance Attribute Details
#executables ⇒ Object
Returns the value of attribute executables
32 33 34 |
# File 'lib/benchmark/driver/configuration.rb', line 32 def executables @executables end |
#repeat_count ⇒ Object
Returns the value of attribute repeat_count
32 33 34 |
# File 'lib/benchmark/driver/configuration.rb', line 32 def repeat_count @repeat_count end |
#type ⇒ Object
Returns the value of attribute type
32 33 34 |
# File 'lib/benchmark/driver/configuration.rb', line 32 def type @type end |
Instance Method Details
#executables_specified? ⇒ Boolean
38 39 40 |
# File 'lib/benchmark/driver/configuration.rb', line 38 def executables_specified? executables != DEFAULT_EXECUTABLES end |