Sha256: d5874c2f07021b0b47a9687137499bde2b058e944d9dc32408b687559a88fe6a

Contents?: true

Size: 409 Bytes

Versions: 4

Compression:

Stored size: 409 Bytes

Contents

# Stub to require the correct based on platform
require 'rbconfig'

case RbConfig::CONFIG['host_os']
  when /linux/i
    require 'linux/sys/admin'
  when /sunos|solaris/i
    require 'sunos/sys/admin'
  when /cygwin|mingw|mswin|windows|dos/i
    require 'windows/sys/admin'
  when /darwin|mach/i
    require 'darwin/sys/admin'
  when /bsd/i
    require 'bsd/sys/admin'
  else
    require 'unix/sys/admin'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sys-admin-1.6.3 lib/sys/admin.rb
sys-admin-1.6.2 lib/sys/admin.rb
sys-admin-1.6.1 lib/sys/admin.rb
sys-admin-1.6.0 lib/sys/admin.rb