lib/app_info/parser.rb in app-info-1.0.2 vs lib/app_info/parser.rb in app-info-1.0.3

- old
+ new

@@ -8,7 +8,11 @@ # App Platform module Platform IOS = 'iOS'.freeze ANDROID = 'Android'.freeze end + + def self.mac? + RbConfig::CONFIG['host_os'] =~ /darwin/ ? true : false + end end end