Class: Cabriolet::Models::CHMSecUncompressed

Inherits:
CHMSection
  • Object
show all
Defined in:
lib/cabriolet/models/chm_section.rb

Overview

Section 0: Uncompressed data

Instance Attribute Summary collapse

Attributes inherited from CHMSection

#chm, #id

Instance Method Summary collapse

Constructor Details

#initialize(chm) ⇒ CHMSecUncompressed

Returns a new instance of CHMSecUncompressed.



19
20
21
22
# File 'lib/cabriolet/models/chm_section.rb', line 19

def initialize(chm)
  super(chm, 0)
  @offset = 0
end

Instance Attribute Details

#offsetObject

Returns the value of attribute offset.



17
18
19
# File 'lib/cabriolet/models/chm_section.rb', line 17

def offset
  @offset
end