]> git.r.bdr.sh - rbdr/lyricli.rb/commitdiff
fixes warning in ruby 2.1.1
authorOrlando Del Aguila <redacted>
Sat, 7 Jun 2014 16:56:30 +0000 (11:56 -0500)
committerOrlando Del Aguila <redacted>
Sat, 7 Jun 2014 16:56:30 +0000 (11:56 -0500)
lib/lyricli/configuration.rb

index 811526b5d06b62491106b00e6c1f46d01ec80fd3..b90e772b1fa3bfc04ccae56ee8cc2a1b8b366b29 100644 (file)
@@ -56,7 +56,7 @@ module Lyricli
     def load_config
       path = File.expand_path(@config_path)
 
     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
         file = File.new(path, "r")
         @config = MultiJson.decode(file.read)
       else