diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-03-09 12:37:48 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-03-09 12:37:48 +0000 |
commit | e0868062c1132f1816479515a22a8f55d2dddee9 (patch) | |
tree | 53969f3cf47205c04398baca0fc07bc869989ac9 /lib/custodian/settings.rb | |
parent | 0e158a3b400c324e35e0617d04508f375a86c633 (diff) |
File.exists? is deprecated.
We prefer "File.exist?".
Flagged by rubocop.
Diffstat (limited to 'lib/custodian/settings.rb')
-rw-r--r-- | lib/custodian/settings.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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. |