From: Orlando Del Aguila Date: Sat, 7 Jun 2014 16:56:30 +0000 (-0500) Subject: fixes warning in ruby 2.1.1 X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/commitdiff_plain/4c06c59514d3521f8c50c5334fb81fff92a863dc?ds=inline fixes warning in ruby 2.1.1 --- diff --git a/lib/lyricli/configuration.rb b/lib/lyricli/configuration.rb index 811526b..b90e772 100644 --- a/lib/lyricli/configuration.rb +++ b/lib/lyricli/configuration.rb @@ -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