Class: Fit::File::Definition

Inherits:
BinData::Record
  • Object
show all
Defined in:
lib/fit/file/definition.rb

Defined Under Namespace

Classes: Field

Instance Method Summary collapse

Instance Method Details

#endiannessObject



83
84
85
# File 'lib/fit/file/definition.rb', line 83

def endianness
  architecture.snapshot == 0 ? :little : :big
end

#record_typeObject



87
88
89
# File 'lib/fit/file/definition.rb', line 87

def record_type
  :definition
end