Sha256: 87c1be0a42aa391c2c5bdeb34b9fc50270a480d980497200405799372fe70ffc
Contents?: true
Size: 376 Bytes
Versions: 181
Compression:
Stored size: 376 Bytes
Contents
require 'rbconfig' module EtFullSystem def self.os @os ||= ( host_os = RbConfig::CONFIG['host_os'] case host_os when /mswin|msys|mingw|cygwin|bccwin|wince|emc/ :windows when /darwin|mac os/ :macosx when /linux/ :linux when /solaris|bsd/ :unix else raise "unknown os: #{host_os.inspect}" end ) end end
Version data entries
181 entries across 181 versions & 1 rubygems