Class: Fit4Ruby::PersonalRecords

Inherits:
FitDataRecord show all
Defined in:
lib/fit4ruby/PersonalRecords.rb

Constant Summary

Constants inherited from FitDataRecord

FitDataRecord::RecordOrder

Constants included from BDFieldNameTranslator

BDFieldNameTranslator::BD_DICT

Constants included from Converters

Converters::FACTORS, Converters::OFFSETS

Instance Attribute Summary

Attributes inherited from FitDataRecord

#message, #timestamp

Instance Method Summary collapse

Methods inherited from FitDataRecord

#<=>, #==, #export, #get, #get_as, #get_unit_by_name, #set, #set_field_values, #write

Methods included from BDFieldNameTranslator

#to_bd_field_name

Methods included from Converters

#conversion_factor, #conversion_offset, #fit_time_to_time, #secsToDHMS, #secsToHM, #secsToHMS, #speedToPace, #time_to_fit_time

Constructor Details

#initialize(field_values = {}) ⇒ PersonalRecords

Returns a new instance of PersonalRecords.



19
20
21
22
# File 'lib/fit4ruby/PersonalRecords.rb', line 19

def initialize(field_values = {})
  super('personal_records')
  set_field_values(field_values)
end