Skip to content

Commit

Permalink
Removed deprecation warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnando committed Oct 10, 2011
1 parent 3bbaa6f commit d815809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mail_catcher.rb
Expand Up @@ -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?
Expand Down

0 comments on commit d815809

Please sign in to comment.