Class: Wardite::MemorySection

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

Instance Attribute Summary collapse

Attributes inherited from Section

#code, #name, #size

Instance Method Summary collapse

Constructor Details

#initializeMemorySection

Returns a new instance of MemorySection.



61
62
63
64
65
66
# File 'lib/wardite.rb', line 61

def initialize
  self.name = "Memory"
  self.code = 0x5

  @limits = []
end

Instance Attribute Details

#limitsObject

: Array[[Integer, Integer|nil]]



58
59
60
# File 'lib/wardite.rb', line 58

def limits
  @limits
end