mirror of
https://github.com/moparisthebest/mailcatcher
synced 2024-08-13 17:03:45 -04:00
Merge pull request #23 from fnando/master
Just removed Config's deprecation warning
This commit is contained in:
commit
0a29130d0f
@ -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?
|
||||||
|
Loading…
Reference in New Issue
Block a user