Class: Wardite::CodeSection
Defined Under Namespace
Classes: CodeBody
Instance Attribute Summary collapse
Attributes inherited from Section
Instance Method Summary collapse
-
#initialize ⇒ CodeSection
constructor
A new instance of CodeSection.
Constructor Details
#initialize ⇒ CodeSection
Returns a new instance of CodeSection.
142 143 144 145 146 147 |
# File 'lib/wardite/load.rb', line 142 def initialize self.name = "Code" self.code = 0xa @func_codes = [] end |
Instance Attribute Details
#func_codes ⇒ Object
139 140 141 |
# File 'lib/wardite/load.rb', line 139 def func_codes @func_codes end |