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.
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
#count ⇒ Object
: Integer
180 181 182 |
# File 'lib/wardite/load.rb', line 180 def count @count end |