Permalink
Browse files

Removed deprecation warning.

  • Loading branch information...
1 parent 3bbaa6f commit d815809607f14a386960752e6517327e752e1385 @fnando fnando committed Oct 10, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/mail_catcher.rb
View
@@ -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?

0 comments on commit d815809

Please sign in to comment.