aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/descriptions.rb
diff options
context:
space:
mode:
authorXu Cheng2015-09-10 13:38:51 +0800
committerXu Cheng2015-09-10 13:38:51 +0800
commit43ba72fb5768427b78d1a044488c5fce1539c419 (patch)
tree5a517dcb6873b086caae4fb8a9aea3f8ffdb57d9 /Library/Homebrew/descriptions.rb
parentc75207c1e0a9cf1bc7e5d91e93c0fb7c9f3a602d (diff)
downloadbrew-43ba72fb5768427b78d1a044488c5fce1539c419.tar.bz2
descriptions: use each instead of map
Diffstat (limited to 'Library/Homebrew/descriptions.rb')
-rw-r--r--Library/Homebrew/descriptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/descriptions.rb b/Library/Homebrew/descriptions.rb
index e66e388eb..bab14f148 100644
--- a/Library/Homebrew/descriptions.rb
+++ b/Library/Homebrew/descriptions.rb
@@ -27,7 +27,7 @@ class Descriptions
# save it for future use.
def self.generate_cache
@cache = {}
- Formula.map do |f|
+ Formula.each do |f|
@cache[f.full_name] = f.desc
end
self.save_cache