diff options
Diffstat (limited to 'lib/custodian/parser.rb')
-rw-r--r-- | lib/custodian/parser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/parser.rb b/lib/custodian/parser.rb index 733d375..9d1095a 100644 --- a/lib/custodian/parser.rb +++ b/lib/custodian/parser.rb @@ -413,7 +413,7 @@ module Custodian def parse_file( filename ) raise ArgumentError, "Missing configuration file!" if ( filename.nil? ) - raise ArgumentError, "File not found: #{@file}" unless ( File.exists?( filename) ) + raise ArgumentError, "File not found: #{@file}" unless ( File.exist?( filename) ) # # Read the configuration file. |