lib/makit/environment.rb in makit-0.0.28 vs lib/makit/environment.rb in makit-0.0.29

- old
+ new

@@ -72,9 +72,13 @@ def self.is_windows? RbConfig::CONFIG["host_os"] =~ /mswin|msys|mingw|cygwin|bccwin|wince|emc/ end + def self.is_mac? + RbConfig::CONFIG["host_os"] =~ /darwin/ + end + def self.get_os case RbConfig::CONFIG["host_os"] when /linux/ "Linux" when /darwin/