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.
123 124 125 126 127 128 |
# File 'lib/wardite/load.rb', line 123 def initialize self.name = "Data" self.code = 0xb @segments = [] end |
Instance Attribute Details
#segments ⇒ Object
: Array
120 121 122 |
# File 'lib/wardite/load.rb', line 120 def segments @segments end |