Class: Elf::Policy::MemoryRange

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#highObject

Returns the value of attribute high.



30
31
32
# File 'lib/mithril/policy/dsl.rb', line 30

def high
  @high
end

#lowObject

Returns the value of attribute low.



30
31
32
# File 'lib/mithril/policy/dsl.rb', line 30

def low
  @low
end