Sha256: b566b9e2e6f44fce02569a5f11d90a5aed2098af8fbd003e5a0cb1c8d2976721
Contents?: true
Size: 341 Bytes
Versions: 9
Compression:
Stored size: 341 Bytes
Contents
# coding: UTF-8 module Cocaine class OSDetector def java? arch =~ /java/ end def unix? RbConfig::CONFIG['host_os'] !~ /mswin|mingw/ end def windows? !unix? end def path_separator File::PATH_SEPARATOR end def arch RUBY_PLATFORM end end OS = OSDetector.new end
Version data entries
9 entries across 9 versions & 4 rubygems