Class: PEROBS::FlatFile::Header

Inherits:
Struct
  • Object
show all
Defined in:
lib/perobs/FlatFile.rb

Overview

Utility class to hold all the data that is stored in a blob header.

Instance Attribute Summary collapse

Instance Attribute Details

#crcObject

Returns the value of attribute crc

Returns:

  • (Object)

    the current value of crc



53
54
55
# File 'lib/perobs/FlatFile.rb', line 53

def crc
  @crc
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



53
54
55
# File 'lib/perobs/FlatFile.rb', line 53

def id
  @id
end

#lengthObject

Returns the value of attribute length

Returns:

  • (Object)

    the current value of length



53
54
55
# File 'lib/perobs/FlatFile.rb', line 53

def length
  @length
end

#markObject

Returns the value of attribute mark

Returns:

  • (Object)

    the current value of mark



53
54
55
# File 'lib/perobs/FlatFile.rb', line 53

def mark
  @mark
end