Removed deprecation warning.

This commit is contained in:
Nando Vieira 2011-10-10 08:28:49 -03:00
parent 3bbaa6f2de
commit d815809607
1 changed files with 2 additions and 2 deletions

View File

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