Class: Elf::Policy::MemoryRange
- Inherits:
-
Object
- Object
- Elf::Policy::MemoryRange
- Defined in:
- lib/mithril/policy.rb
Instance Attribute Summary collapse
-
#high ⇒ Object
Returns the value of attribute high.
-
#low ⇒ Object
Returns the value of attribute low.
Instance Method Summary collapse
-
#initialize(from, to) ⇒ MemoryRange
constructor
A new instance of MemoryRange.
Constructor Details
#initialize(from, to) ⇒ MemoryRange
Returns a new instance of MemoryRange.
33 34 35 |
# File 'lib/mithril/policy.rb', line 33 def initialize(from,to) @low,@high = from,to end |
Instance Attribute Details
#high ⇒ Object
Returns the value of attribute high.
32 33 34 |
# File 'lib/mithril/policy.rb', line 32 def high @high end |
#low ⇒ Object
Returns the value of attribute low.
32 33 34 |
# File 'lib/mithril/policy.rb', line 32 def low @low end |