]> git.r.bdr.sh - rbdr/lyricli.rb/blobdiff - lib/lyricli/configuration.rb
fixes warning in ruby 2.1.1
[rbdr/lyricli.rb] / 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