Class: Wardite::DataSection

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

Defined Under Namespace

Classes: Segment

Instance Attribute Summary collapse

Attributes inherited from Section

#code, #name, #size

Instance Method Summary collapse

Constructor Details

#initializeDataSection

Returns a new instance of DataSection.



167
168
169
170
171
172
# File 'lib/wardite/load.rb', line 167

def initialize
  self.name = "Data"
  self.code = 0xb

  @segments = []
end

Instance Attribute Details

#segmentsObject

: Array



164
165
166
# File 'lib/wardite/load.rb', line 164

def segments
  @segments
end