1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2025-02-20 01:50:04 +00:00

fix syntax for rubocop 0.48.1

This commit is contained in:
Adrien Waksberg 2017-04-04 23:52:00 +02:00
parent d8df357993
commit 45ead1e24e

View file

@ -66,7 +66,7 @@ module MPW
special: false,
length: 16 }
%w(numeric special alpha length).each do |k|
%w[numeric special alpha length].each do |k|
if options.key?("pwd_#{k}".to_sym)
password[k.to_sym] = options["pwd_#{k}".to_sym]
elsif !@password.nil? && @password.key?(k.to_sym)