diff options
| author | Xu Cheng | 2015-09-10 13:38:51 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-09-10 13:38:51 +0800 |
| commit | 43ba72fb5768427b78d1a044488c5fce1539c419 (patch) | |
| tree | 5a517dcb6873b086caae4fb8a9aea3f8ffdb57d9 /Library/Homebrew/descriptions.rb | |
| parent | c75207c1e0a9cf1bc7e5d91e93c0fb7c9f3a602d (diff) | |
| download | brew-43ba72fb5768427b78d1a044488c5fce1539c419.tar.bz2 | |
descriptions: use each instead of map
Diffstat (limited to 'Library/Homebrew/descriptions.rb')
| -rw-r--r-- | Library/Homebrew/descriptions.rb | 2 |
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 |
