replace hash method has_key? by key?

This commit is contained in:
Adrien Waksberg 2017-03-28 22:22:09 +02:00
parent e7fff4bb87
commit 31aba3b13c
5 changed files with 27 additions and 27 deletions

View file

@ -96,7 +96,7 @@ end.parse!
config = MPW::Config.new(options[:config])
cli = MPW::Cli.new(config, nil)
if options.has_key?(:init)
if options.key?(:init)
cli.setup(values)
cli.load_config
cli.get_wallet