Class: Runby::RunTypes::DistanceRun::GoldenPaces

Inherits:
Object
  • Object
show all
Defined in:
lib/runby_pace/run_types/distance_run.rb

Overview

Used in testing, contains hashes mapping 5K race times with the recommended pace-per-km for this run type.

Class Method Summary collapse

Class Method Details

.fastObject



31
32
33
34
35
36
37
38
39
40
# File 'lib/runby_pace/run_types/distance_run.rb', line 31

def self.fast
  GoldenPaceSet.new('14:00': '03:44',
                    '15:00': '03:58',
                    '20:00': '05:09',
                    '25:00': '06:18',
                    '30:00': '07:24',
                    '35:00': '08:29',
                    '40:00': '09:33',
                    '42:00': '09:58')
end

.slowObject



42
43
44
45
46
47
48
49
50
51
# File 'lib/runby_pace/run_types/distance_run.rb', line 42

def self.slow
  GoldenPaceSet.new('14:00': '04:17',
                    '15:00': '04:33',
                    '20:00': '05:53',
                    '25:00': '07:09',
                    '30:00': '08:23',
                    '35:00': '09:33',
                    '40:00': '10:42',
                    '42:00': '11:10')
end