aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat
diff options
context:
space:
mode:
authorJack Nagel2013-03-20 22:20:30 -0500
committerJack Nagel2013-03-20 22:32:56 -0500
commitba38f0937be07416e51d09941922305ce94dfcb9 (patch)
treeb13665689582285bcd5f6273bb50b18f154cf22c /Library/Homebrew/compat
parentc4c2c029b305178d19988ab0949b0f338e41c0fe (diff)
downloadhomebrew-ba38f0937be07416e51d09941922305ce94dfcb9.tar.bz2
Move Formula.all to compat
Diffstat (limited to 'Library/Homebrew/compat')
-rw-r--r--Library/Homebrew/compat/compatibility.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/compat/compatibility.rb b/Library/Homebrew/compat/compatibility.rb
index aee5da63f..6a473be47 100644
--- a/Library/Homebrew/compat/compatibility.rb
+++ b/Library/Homebrew/compat/compatibility.rb
@@ -114,6 +114,11 @@ class Formula
def recursive_deps
Formula.expand_deps(self).flatten.uniq
end
+
+ def self.all
+ opoo "Formula.all is deprecated, use Formula.map instead"
+ map
+ end
end
class UnidentifiedFormula < Formula