From d815809607f14a386960752e6517327e752e1385 Mon Sep 17 00:00:00 2001 From: Nando Vieira Date: Mon, 10 Oct 2011 08:28:49 -0300 Subject: [PATCH] Removed deprecation warning. --- lib/mail_catcher.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mail_catcher.rb b/lib/mail_catcher.rb index eac943e..ca19f02 100644 --- a/lib/mail_catcher.rb +++ b/lib/mail_catcher.rb @@ -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?