Class: Fit::File::RecordHeader

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

Instance Method Summary collapse

Instance Method Details

#compressed_timestamp?Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/fit/file/record_header.rb', line 22

def compressed_timestamp?
  header_type == 1
end

#normal?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/fit/file/record_header.rb', line 18

def normal?
  header_type == 0
end