Class: Elf::Policy::MemoryRange

Inherits:
Object
  • Object
show all
Defined in:
lib/mithril/policy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#highObject

Returns the value of attribute high.



32
33
34
# File 'lib/mithril/policy.rb', line 32

def high
  @high
end

#lowObject

Returns the value of attribute low.



32
33
34
# File 'lib/mithril/policy.rb', line 32

def low
  @low
end