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.



52
53
54
55
56
57
# File 'lib/wardite.rb', line 52

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

  @limits = []
end

Instance Attribute Details

#limitsObject

: Array[[Integer, Integer|nil]]



49
50
51
# File 'lib/wardite.rb', line 49

def limits
  @limits
end