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.
42 43 44 45 46 47 |
# File 'lib/wardite/load.rb', line 42 def initialize self.name = "Memory" self.code = 0x5 @limits = [] end |
Instance Attribute Details
#limits ⇒ Object
: Array[[Integer, Integer|nil]]
39 40 41 |
# File 'lib/wardite/load.rb', line 39 def limits @limits end |