diff options
author | Chris Larsen <clarsenipod@gmail.com> | 2016-01-17 16:52:28 -0500 |
---|---|---|
committer | Chris Larsen <clarsenipod@gmail.com> | 2016-01-17 16:52:28 -0500 |
commit | 6d8529c363fb0683b1ffb49df807e4c44bf64ac7 (patch) | |
tree | 8e87c57648a6cda1aed0279cdb3e8db2a06dba8c | |
parent | 12eb82d283cab148183c37c07e3f75a309969dec (diff) | |
download | plist-6d8529c363fb0683b1ffb49df807e4c44bf64ac7.tar.gz |
Updated dprecated File.exists? to File.exist?
-rw-r--r-- | lib/plist/parser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plist/parser.rb b/lib/plist/parser.rb index a3e551d..a5f2450 100644 --- a/lib/plist/parser.rb +++ b/lib/plist/parser.rb @@ -63,7 +63,7 @@ module Plist def initialize( plist_data_or_file, listener ) if plist_data_or_file.respond_to? :read @xml = plist_data_or_file.read - elsif File.exists? plist_data_or_file + elsif File.exist? plist_data_or_file @xml = File.read( plist_data_or_file ) else @xml = plist_data_or_file |