Skip to content

Commit

Permalink
Updated dprecated File.exists? to File.exist?
Browse files Browse the repository at this point in the history
  • Loading branch information
HCLarsen committed Jan 17, 2016
1 parent 12eb82d commit 6d8529c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plist/parser.rb
Expand Up @@ -63,7 +63,7 @@ class StreamParser
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
Expand Down

0 comments on commit 6d8529c

Please sign in to comment.