Method: Host::Memory.extend_memory

Defined in:
lib/host/memory.rb

.extend_memoryObject

Acts differently dependending on the operating systems. Raises NotSupportedOperatingSystem if we cannot recognize the OS.



33
34
35
36
37
38
# File 'lib/host/memory.rb', line 33

def extend_memory 
  case Host.os
  when :linux then extend Linux::Memory 
  # other os...
  end
end