Class: F1Results::QualifyingResult
- Defined in:
- lib/f1results/result.rb
Instance Attribute Summary collapse
-
#q1 ⇒ Object
Returns the value of attribute q1.
-
#q2 ⇒ Object
Returns the value of attribute q2.
-
#q3 ⇒ Object
Returns the value of attribute q3.
Attributes inherited from Result
#driver, #driver_number, #index, #laps, #position, #retired, #team, #time
Instance Method Summary collapse
Methods inherited from Result
#initialize, #time_or_retired, #time_or_retired=
Constructor Details
This class inherits a constructor from F1Results::Result
Instance Attribute Details
#q1 ⇒ Object
Returns the value of attribute q1.
43 44 45 |
# File 'lib/f1results/result.rb', line 43 def q1 @q1 end |
#q2 ⇒ Object
Returns the value of attribute q2.
43 44 45 |
# File 'lib/f1results/result.rb', line 43 def q2 @q2 end |
#q3 ⇒ Object
Returns the value of attribute q3.
43 44 45 |
# File 'lib/f1results/result.rb', line 43 def q3 @q3 end |
Instance Method Details
#to_a ⇒ Object
45 46 47 |
# File 'lib/f1results/result.rb', line 45 def to_a [position, driver_number, driver, team, q1, q2, q3, laps] end |