Class: TrainingZones::PaceBand

Inherits:
Struct
  • Object
show all
Defined in:
lib/calcpace/training_zones.rb

Overview

A pace band for one training zone (paces per kilometre). slow = lower-intensity end of the band, fast = higher-intensity end.

Instance Attribute Summary collapse

Instance Attribute Details

#fast_clockObject

Returns the value of attribute fast_clock

Returns:

  • (Object)

    the current value of fast_clock



24
25
26
# File 'lib/calcpace/training_zones.rb', line 24

def fast_clock
  @fast_clock
end

#fast_secondsObject

Returns the value of attribute fast_seconds

Returns:

  • (Object)

    the current value of fast_seconds



24
25
26
# File 'lib/calcpace/training_zones.rb', line 24

def fast_seconds
  @fast_seconds
end

#slow_clockObject

Returns the value of attribute slow_clock

Returns:

  • (Object)

    the current value of slow_clock



24
25
26
# File 'lib/calcpace/training_zones.rb', line 24

def slow_clock
  @slow_clock
end

#slow_secondsObject

Returns the value of attribute slow_seconds

Returns:

  • (Object)

    the current value of slow_seconds



24
25
26
# File 'lib/calcpace/training_zones.rb', line 24

def slow_seconds
  @slow_seconds
end