Class: Elf::Policy::MemoryRange
- Inherits:
-
Object
- Object
- Elf::Policy::MemoryRange
- Defined in:
- lib/mithril/policy/dsl.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.
31 32 33 |
# File 'lib/mithril/policy/dsl.rb', line 31 def initialize(from,to) @low,@high = from,to end |
Instance Attribute Details
#high ⇒ Object
Returns the value of attribute high.
30 31 32 |
# File 'lib/mithril/policy/dsl.rb', line 30 def high @high end |
#low ⇒ Object
Returns the value of attribute low.
30 31 32 |
# File 'lib/mithril/policy/dsl.rb', line 30 def low @low end |