Sha256: 2031e0b8e65afcdcb3ef88a438b171f38023f034105657e45f565dca69c480a4
Contents?: true
Size: 456 Bytes
Versions: 4
Compression:
Stored size: 456 Bytes
Contents
module CSD module Extensions module Gem module Platform def humanize version_string = version ? ", version #{version}" : '' "#{os} (CPU: #{cpu}#{version_string})" end def kernel_version Cmd.run('uname -v', :silent => true).chop if os == 'linux' end end end end end module Gem class Platform #:nodoc: include CSD::Extensions::Gem::Platform end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
csd-0.1.2 | lib/csd/extensions/gem/platform.rb |
csd-0.1.1 | lib/csd/extensions/gem/platform.rb |
csd-0.1.0 | lib/csd/extensions/gem/platform.rb |
csd-0.0.16 | lib/csd/extensions/gem/platform.rb |