Sha256: 407314edab998ef24fa6c0e6bfefc434c1aa608eb305b892e06bb08236e288a9
Contents?: true
Size: 256 Bytes
Versions: 22
Compression:
Stored size: 256 Bytes
Contents
module OS def OS.windows? (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil end def OS.mac? (/darwin/ =~ RUBY_PLATFORM) != nil end def OS.unix? !OS.windows? end def OS.linux? OS.unix? and not OS.mac? end end
Version data entries
22 entries across 22 versions & 5 rubygems