This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Use each_key instead of keys.each

  • Loading branch information...
1 parent 941e4be commit 9e3ef197fe78792fa13b5dc1820118e8e129d277 @jacknagel jacknagel committed Mar 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Library/Homebrew/cmd/doctor.rb
@@ -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

0 comments on commit 9e3ef19

Please sign in to comment.