Class: Caper::FileHeader

Inherits:
FFI::Struct
  • Object
show all
Includes:
FFI::DRY::StructHelper
Defined in:
lib/caper/file_header.rb

Instance Method Summary collapse

Instance Method Details



16
17
18
# File 'lib/caper/file_header.rb', line 16

def datalink
  DataLink.new(self.linktype)
end

#versionObject



20
21
22
# File 'lib/caper/file_header.rb', line 20

def version
  "#{self.version_major}.#{self.version_minor}"
end