lib/rmega/cli.rb in rmega-0.3.1 vs lib/rmega/cli.rb in rmega-0.3.2
- old
+ new
@@ -25,10 +25,10 @@
def configuration_filepath
File.expand_path('~/.rmega')
end
def read_configuration_file
- return {} unless File.exists?(configuration_filepath)
+ return {} unless File.exist?(configuration_filepath)
opts = YAML.load_file(configuration_filepath)
opts.keys.each { |k| opts[k.to_sym] = opts.delete(k) } # symbolize_keys!
return opts