Sha256: 2df1848f43bf221738796cd41cc5aa207b4a889ec6d0bfe1f9ef3fb04ca0728b

Contents?: true

Size: 484 Bytes

Versions: 23

Compression:

Stored size: 484 Bytes

Contents

require_relative 'tempo_run'

module Runby
  module RunTypes
    # The "fast tempo" pace roughly equates to your half-marathon pace.
    #  It's a pace you could maintain for about an hour, if pressed.
    class FastTempoRun < TempoRun
      def description
        'Fast Tempo Run'
      end

      def lookup_pace(five_k_time, distance_units = :km)
        fast = @fast_pace_calculator.calc(five_k_time, distance_units)
        PaceRange.new(fast, fast)
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
runby_pace-0.6.119 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.118 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.117 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.116 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.115 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.114 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.113 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.112 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.111 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.110 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.109 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.108 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.106 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.105 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.104 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.103 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.102 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.101 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.100 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.6.98 lib/runby_pace/run_types/fast_tempo_run.rb