# frozen_string_literal: true

def mac?
  RbConfig::CONFIG["target_os"] =~ /darwin/i
end

def linux?
  RbConfig::CONFIG["target_os"] =~ /linux/i
end

def windows?
  RbConfig::CONFIG["target_os"] =~ /mswin|mingw/i
end
