Sha256: b21014cb19a66d05e7a2232d145f128dbcbbf23f4dc5a89556ef9d5bf1d14beb
Contents?: true
Size: 655 Bytes
Versions: 1
Compression:
Stored size: 655 Bytes
Contents
module Keystone module Os class AbstractOs attr_accessor :version def ip_address end def hostname end def disk end def process_list end def netstat end def dump self_methods = self.methods - Class.methods self_methods.delete("version=") self_methods.delete("dump") self_methods.delete("bin_or_usrbin") st = "" self_methods.each do |method| p method st << "== #{method} ==\n #{self.__send__(method).to_s.split("\n").join("\n ")}\n" end return st end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
keystone-0.0.29 | lib/keystone/os/abstract_os.rb |