]> git.r.bdr.sh - rbdr/lyricli.rb/commitdiff
Merge pull request #3 from orlando/master
authorBen Beltran <redacted>
Wed, 6 Aug 2014 11:54:58 +0000 (06:54 -0500)
committerBen Beltran <redacted>
Wed, 6 Aug 2014 11:54:58 +0000 (06:54 -0500)
fixes warning in ruby 2.1.1

lib/lyricli/configuration.rb

index 811526b5d06b62491106b00e6c1f46d01ec80fd3..b90e772b1fa3bfc04ccae56ee8cc2a1b8b366b29 100644 (file)
@@ -56,7 +56,7 @@ module Lyricli
     def load_config
       path = File.expand_path(@config_path)
 
-      if File.exists?(path)
+      if File.exist?(path)
         file = File.new(path, "r")
         @config = MultiJson.decode(file.read)
       else