module Fit4Ruby::BDFieldNameTranslator
Some FIT message field names conflict with BinData reserved names. We use this translation method to map the conflicting names to BinData compatible names.
Constants
- BD_DICT
Public Instance Methods
to_bd_field_name(name)
click to toggle source
# File lib/fit4ruby/BDFieldNameTranslator.rb, line 25 def to_bd_field_name(name) if (bd_name = BD_DICT[name]) return bd_name end name end