Sha256: faf70d5059008e033152c1906ba1520d3eea2576694cd75bdaf758a03eb8f9bb
Contents?: true
Size: 228 Bytes
Versions: 52
Compression:
Stored size: 228 Bytes
Contents
require 'rbconfig' module JsDuck module Util # Simple helper class to detect operating system class OS def self.windows? RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/ end end end end
Version data entries
52 entries across 52 versions & 3 rubygems