module Pkg::Util::OS

Constants

DEVNULL

Public Class Methods

windows?() click to toggle source
# File lib/packaging/util/os.rb, line 6
def windows?
  case RbConfig::CONFIG['host_os']
  when /mswin|mingw/i
    true
  else
    false
  end
end

Private Instance Methods

windows?() click to toggle source
# File lib/packaging/util/os.rb, line 6
def windows?
  case RbConfig::CONFIG['host_os']
  when /mswin|mingw/i
    true
  else
    false
  end
end