Sha256: cf41a912c7362e0ca170d11a7ef2fd3513c0997e5d4d4d541b5780f42986c053

Contents?: true

Size: 178 Bytes

Versions: 5

Compression:

Stored size: 178 Bytes

Contents

module RunbyPace

  class RunMath
    def self.convert_pace_to_speed(pace)
      pace = RunbyPace::PaceTime.new(pace)
      (60 / pace.total_minutes).round(2)
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
runby_pace-0.2.65 lib/runby_pace/run_math.rb
runby_pace-0.2.64 lib/runby_pace/run_math.rb
runby_pace-0.2.63 lib/runby_pace/run_math.rb
runby_pace-0.2.62 lib/runby_pace/run_math.rb
runby_pace-0.2.61 lib/runby_pace/run_math.rb