1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00

Don't use deprecated File.exists? method.

This commit is contained in:
Andy Brody 2014-07-08 02:25:13 -07:00
parent 39c5b12273
commit 5315b4ed89

View file

@ -79,12 +79,12 @@ end
require 'irb'
require 'irb/completion'
if File.exists? ".irbrc"
if File.exist? ".irbrc"
ENV['IRBRC'] = ".irbrc"
end
rcfile = File.expand_path("~/.restclientrc")
if File.exists?(rcfile)
if File.exist?(rcfile)
load(rcfile)
end