Sha256: 4abc32e94b7c183871da6f8ce92f3b2f93aa82db29319a7410b6668aeb0293d9
Contents?: true
Size: 310 Bytes
Versions: 14
Compression:
Stored size: 310 Bytes
Contents
require 'rbconfig' module R10K module Util module Platform def self.platform if self.windows? :windows else :posix end end def self.windows? RbConfig::CONFIG['host_os'] =~ /mswin|win32|dos|mingw|cygwin/i end end end end
Version data entries
14 entries across 14 versions & 1 rubygems