Sha256: eb2b24a74eb373c31b1433c05c250ccb735b78a7f42f75438c0fe642d2d007fb

Contents?: true

Size: 475 Bytes

Versions: 2

Compression:

Stored size: 475 Bytes

Contents

require_relative 'tempo_run'

module RunbyPace
  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 pace(five_k_time, distance_units = :km)
        fast = @fast_pace_data.calc(five_k_time, distance_units)
        PaceRange.new(fast, fast)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
runby_pace-0.2.74 lib/runby_pace/run_types/fast_tempo_run.rb
runby_pace-0.2.73 lib/runby_pace/run_types/fast_tempo_run.rb