class Total::Mem
Memory specifics.
def bytes
def bytes target.memory end
def target
def target return Total::OSX.new if RUBY_PLATFORM.include?('darwin') return Total::Linux.new if RUBY_PLATFORM.include?('linux') return Total::FreeBSD.new if RUBY_PLATFORM.include?('freebsd') raise CantDetect, "Can't detect operating system: #{RUBY_PLATFORM}" end