Class: TrainingZones::HrZone
- Inherits:
-
Struct
- Object
- Struct
- TrainingZones::HrZone
- Defined in:
- lib/calcpace/training_zones.rb
Overview
One heart-rate training zone (1 = recovery … 5 = maximal)
Instance Attribute Summary collapse
-
#max_bpm ⇒ Object
Returns the value of attribute max_bpm.
-
#min_bpm ⇒ Object
Returns the value of attribute min_bpm.
-
#zone ⇒ Object
Returns the value of attribute zone.
Instance Attribute Details
#max_bpm ⇒ Object
Returns the value of attribute max_bpm
30 31 32 |
# File 'lib/calcpace/training_zones.rb', line 30 def max_bpm @max_bpm end |
#min_bpm ⇒ Object
Returns the value of attribute min_bpm
30 31 32 |
# File 'lib/calcpace/training_zones.rb', line 30 def min_bpm @min_bpm end |
#zone ⇒ Object
Returns the value of attribute zone
30 31 32 |
# File 'lib/calcpace/training_zones.rb', line 30 def zone @zone end |