From 388dc439b6baf9bfff10645a5dfad0191e5c36b5 Mon Sep 17 00:00:00 2001 From: Adrien Waksberg Date: Sat, 8 Apr 2017 17:39:51 +0200 Subject: [PATCH] fix argument in config setup --- lib/mpw/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mpw/config.rb b/lib/mpw/config.rb index fd78cf8..fa1a825 100644 --- a/lib/mpw/config.rb +++ b/lib/mpw/config.rb @@ -54,7 +54,7 @@ module MPW # Create a new config file # @args: options -> hash with values # @rtrn: true if le config file is create - def setup(options) + def setup(**options) gpg_key = options[:gpg_key] || @gpg_key lang = options[:lang] || @lang wallet_dir = options[:wallet_dir] || @wallet_dir