Class: Runby::RunTypes::SlowTempoRun
- Inherits:
-
TempoRun
- Object
- Runby::RunType
- TempoRun
- Runby::RunTypes::SlowTempoRun
- Defined in:
- lib/runby_pace/run_types/slow_tempo_run.rb
Overview
The “slow tempo” pace roughly equates to your marathon pace.
Instance Attribute Summary
Attributes inherited from TempoRun
#fast_pace_calculator, #slow_pace_calculator
Instance Method Summary collapse
Methods inherited from TempoRun
Constructor Details
This class inherits a constructor from Runby::RunTypes::TempoRun
Instance Method Details
#description ⇒ Object
7 8 9 |
# File 'lib/runby_pace/run_types/slow_tempo_run.rb', line 7 def description 'Slow Tempo Run' end |
#lookup_pace(five_k_time, distance_units = :km) ⇒ Object
11 12 13 14 |
# File 'lib/runby_pace/run_types/slow_tempo_run.rb', line 11 def lookup_pace(five_k_time, distance_units = :km) slow = @slow_pace_calculator.calc(five_k_time, distance_units) PaceRange.new(slow, slow) end |