Class: RunbyPace::RunTypes::FastTempoRun
- Inherits:
-
TempoRun
- Object
- RunbyPace::RunType
- TempoRun
- RunbyPace::RunTypes::FastTempoRun
- Defined in:
- lib/runby_pace/run_types/fast_tempo_run.rb
Overview
The "fast tempo" pace roughly equates to your half-marathon pace. It's a pace you could maintain for about an hour, if pressed.
Instance Attribute Summary
Attributes inherited from TempoRun
#fast_pace_data, #slow_pace_data
Instance Method Summary collapse
Methods inherited from TempoRun
Constructor Details
This class inherits a constructor from RunbyPace::RunTypes::TempoRun
Instance Method Details
#description ⇒ Object
8 9 10 |
# File 'lib/runby_pace/run_types/fast_tempo_run.rb', line 8 def description 'Fast Tempo Run' end |
#pace(five_k_time, distance_units = :km) ⇒ Object
12 13 14 15 |
# File 'lib/runby_pace/run_types/fast_tempo_run.rb', line 12 def pace(five_k_time, distance_units = :km) fast = @fast_pace_data.calc(five_k_time, distance_units) PaceRange.new(fast, fast) end |