Class: Wardite::CodeSection

Inherits:
Section
  • Object
show all
Defined in:
lib/wardite/load.rb

Defined Under Namespace

Classes: CodeBody

Instance Attribute Summary collapse

Attributes inherited from Section

#code, #name, #size

Instance Method Summary collapse

Constructor Details

#initializeCodeSection

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_codesObject



139
140
141
# File 'lib/wardite/load.rb', line 139

def func_codes
  @func_codes
end