Sha256: 83a140e6482b3e004b4f9505dac8ec3f82c6aa283cba3894307ce17e04c0e6ce

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

# This is just a stub file that requires the appropriate version
# depending on which platform you're on.
require 'rbconfig'

module Sys
  class CPU
    # The version of the sys-cpu gem.
    VERSION = '0.8.3'.freeze
  end
end

case RbConfig::CONFIG['host_os']
  when /linux/i
    require_relative('linux/sys/cpu')
  when /windows|mswin|mingw|cygwin|dos/i
    require_relative('windows/sys/cpu')
  else
    require_relative('unix/sys/cpu')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sys-cpu-0.8.3 lib/sys/cpu.rb