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.



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

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

  @count = count
end

Instance Attribute Details

#countObject

: Integer



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

def count
  @count
end