Merge pull request #23 from fnando/master

Just removed Config's deprecation warning
This commit is contained in:
Samuel Cochran 2011-10-10 04:43:14 -07:00
commit 0a29130d0f

View File

@ -16,11 +16,11 @@ module MailCatcher
module_function
def mac?
Config::CONFIG['host_os'] =~ /darwin/
RbConfig::CONFIG['host_os'] =~ /darwin/
end
def windows?
Config::CONFIG['host_os'] =~ /mswin|mingw/
RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
end
def macruby?