aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
authorJack Nagel2014-08-14 01:00:23 -0500
committerJack Nagel2014-08-14 01:00:23 -0500
commit19e738db57a43550236722df5ed7bcf834e71c0c (patch)
tree24d0d9041bbd8350500980ea45329132e3c6d1f1 /Library/Homebrew/formula.rb
parent90a19a24542c27a1a3b11c77d009bd86b6896065 (diff)
downloadhomebrew-19e738db57a43550236722df5ed7bcf834e71c0c.tar.bz2
Use the as_flags method instead of map
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index b1f3df267..35b0f60a9 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -453,7 +453,7 @@ class Formula
hsh["installed"] << {
"version" => keg.version.to_s,
- "used_options" => tab.used_options.map(&:flag),
+ "used_options" => tab.used_options.as_flags,
"built_as_bottle" => tab.built_bottle,
"poured_from_bottle" => tab.poured_from_bottle
}