Sha256: 54d5766cfe7878bb8142a0cd2ee2f43e3bd5d903b95e0c4660f64a63b06d47b2
Contents?: true
Size: 562 Bytes
Versions: 33
Compression:
Stored size: 562 Bytes
Contents
module Fontist module Utils module System def self.user_os # rubocop:disable Metrics/MethodLength @user_os ||= begin host_os = RbConfig::CONFIG["host_os"] case host_os when /mswin|msys|mingw|cygwin|bccwin|wince|emc/ :windows when /darwin|mac os/ :macos when /linux/ :linux when /solaris|bsd/ :unix else raise Fontist::Error, "unknown os: #{host_os.inspect}" end end end end end end
Version data entries
33 entries across 33 versions & 1 rubygems