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.



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

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

  @count = count
end

Instance Attribute Details

#countObject

: Integer



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

def count
  @count
end