Class: Wardite::DataSection
Defined Under Namespace
Classes: Segment
Instance Attribute Summary collapse
Attributes inherited from Section
Instance Method Summary collapse
-
#initialize ⇒ DataSection
constructor
A new instance of DataSection.
Constructor Details
#initialize ⇒ DataSection
Returns a new instance of DataSection.
171 172 173 174 175 176 |
# File 'lib/wardite/load.rb', line 171 def initialize self.name = "Data" self.code = 0xb @segments = [] end |
Instance Attribute Details
#segments ⇒ Object
: Array
168 169 170 |
# File 'lib/wardite/load.rb', line 168 def segments @segments end |