From 3dd9062d866266e1940bbf84b1ca5a63482cdadb Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 9 Mar 2015 12:37:48 +0000 Subject: File.exists? is deprecated. We prefer "File.exist?". Flagged by rubocop. --- lib/custodian/settings.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian/settings.rb') diff --git a/lib/custodian/settings.rb b/lib/custodian/settings.rb index b2bdb04..206e6a9 100644 --- a/lib/custodian/settings.rb +++ b/lib/custodian/settings.rb @@ -43,7 +43,7 @@ module Custodian # # The global configuration file. # - return unless( File.exists?( file ) ) + return unless( File.exist?( file ) ) # # Load and "parse" the key=value content. -- cgit v1.2.1