Class: Wardite::DataCountSection
Instance Attribute Summary collapse
-
#count ⇒ Object
: Integer.
Attributes inherited from Section
Instance Method Summary collapse
-
#initialize(count) ⇒ DataCountSection
constructor
A new instance of DataCountSection.
Constructor Details
#initialize(count) ⇒ DataCountSection
Returns a new instance of DataCountSection.
183 184 185 186 187 188 |
# File 'lib/wardite/load.rb', line 183 def initialize(count) self.name = "Data" self.code = 0xc @count = count end |
Instance Attribute Details
#count ⇒ Object
: Integer
179 180 181 |
# File 'lib/wardite/load.rb', line 179 def count @count end |