Class: TrainingZones::HrZone

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

Overview

One heart-rate training zone (1 = recovery … 5 = maximal)

Instance Attribute Summary collapse

Instance Attribute Details

#max_bpmObject

Returns the value of attribute max_bpm

Returns:

  • (Object)

    the current value of max_bpm



30
31
32
# File 'lib/calcpace/training_zones.rb', line 30

def max_bpm
  @max_bpm
end

#min_bpmObject

Returns the value of attribute min_bpm

Returns:

  • (Object)

    the current value of min_bpm



30
31
32
# File 'lib/calcpace/training_zones.rb', line 30

def min_bpm
  @min_bpm
end

#zoneObject

Returns the value of attribute zone

Returns:

  • (Object)

    the current value of zone



30
31
32
# File 'lib/calcpace/training_zones.rb', line 30

def zone
  @zone
end