Class: RunbyPace::PaceRange

Inherits:
RunbyRange show all
Defined in:
lib/runby_pace/pace_range.rb

Instance Attribute Summary

Attributes inherited from RunbyRange

#fast, #slow

Instance Method Summary collapse

Methods inherited from RunbyRange

#to_s

Constructor Details

#initialize(fast, slow) ⇒ PaceRange

Returns a new instance of PaceRange.



6
7
8
9
# File 'lib/runby_pace/pace_range.rb', line 6

def initialize(fast, slow)
  @fast = RunbyPace::PaceTime.new(fast)
  @slow = RunbyPace::PaceTime.new(slow)
end