Class: Wardite::DataCountSection

Inherits:
Section
  • Object
show all
Defined in:
lib/wardite/load.rb

Instance Attribute Summary collapse

Attributes inherited from Section

#code, #name, #size

Instance Method Summary collapse

Constructor Details

#initialize(count) ⇒ DataCountSection

Returns a new instance of DataCountSection.



183
184
185
186
187
188
# File 'lib/wardite/load.rb', line 183

def initialize(count)
  self.name = "Data"
  self.code = 0xc

  @count = count
end

Instance Attribute Details

#countObject

: Integer



179
180
181
# File 'lib/wardite/load.rb', line 179

def count
  @count
end