Class: Wardite::MemorySection
Instance Attribute Summary collapse
-
#limits ⇒ Object
: Array[[Integer, Integer|nil]].
Attributes inherited from Section
Instance Method Summary collapse
-
#initialize ⇒ MemorySection
constructor
A new instance of MemorySection.
Constructor Details
#initialize ⇒ MemorySection
Returns a new instance of MemorySection.
65 66 67 68 69 70 |
# File 'lib/wardite.rb', line 65 def initialize self.name = "Memory" self.code = 0x5 @limits = [] end |
Instance Attribute Details
#limits ⇒ Object
: Array[[Integer, Integer|nil]]
62 63 64 |
# File 'lib/wardite.rb', line 62 def limits @limits end |