# File lib/facter/util/config.rb, line 6 6: def self.is_windows? 7: RbConfig::CONFIG['host_os'] =~ /mswin|win32|dos|mingw|cygwin/i 8: end