Class: Benchmark::Driver::Configuration::Job
- Inherits:
-
Struct
- Object
- Struct
- Benchmark::Driver::Configuration::Job
- Defined in:
- lib/benchmark/driver/configuration.rb
Overview
Instance Attribute Summary collapse
- #guessed_count ⇒ Object
-
#loop_count ⇒ Object
Returns the value of attribute loop_count.
-
#name ⇒ Object
Returns the value of attribute name.
-
#prelude ⇒ Object
Returns the value of attribute prelude.
-
#script ⇒ Object
Returns the value of attribute script.
Instance Method Summary collapse
Instance Attribute Details
#guessed_count ⇒ Object
11 12 13 |
# File 'lib/benchmark/driver/configuration.rb', line 11 def guessed_count @guessed_count end |
#loop_count ⇒ Object
Returns the value of attribute loop_count
9 10 11 |
# File 'lib/benchmark/driver/configuration.rb', line 9 def loop_count @loop_count end |
#name ⇒ Object
Returns the value of attribute name
9 10 11 |
# File 'lib/benchmark/driver/configuration.rb', line 9 def name @name end |
#prelude ⇒ Object
Returns the value of attribute prelude
9 10 11 |
# File 'lib/benchmark/driver/configuration.rb', line 9 def prelude @prelude end |
#script ⇒ Object
Returns the value of attribute script
9 10 11 |
# File 'lib/benchmark/driver/configuration.rb', line 9 def script @script end |
Instance Method Details
#warmup_needed? ⇒ Boolean
13 14 15 16 |
# File 'lib/benchmark/driver/configuration.rb', line 13 def warmup_needed? # This needs to check original configuration self[:loop_count].nil? end |