Use each_key instead of keys.each

This commit is contained in:
Jack Nagel 2013-03-29 21:59:02 -05:00
parent 3320b15609
commit 4a52bf1c31

View File

@ -857,7 +857,7 @@ def check_for_linked_keg_only_brews
You may wish to `brew unlink` these brews:
EOS
warnings.keys.each{ |f| s << " #{f}\n" }
warnings.each_key { |f| s << " #{f}\n" }
s
end
end