aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-02-12 14:28:26 -0500
committerJack Nagel2014-02-12 14:28:26 -0500
commitd77a4b24b3f0ec10915bc0fd7f462f9c979e929b (patch)
treec96b4fe5ec640619ccd08adc23a76723e5227b3a /Library
parent490f7d052693f1e7ad488fde05b62e88ac263c75 (diff)
downloadhomebrew-d77a4b24b3f0ec10915bc0fd7f462f9c979e929b.tar.bz2
Delete unused method
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/pathname.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index 3c024e77d..f2222d37f 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -343,17 +343,6 @@ class Pathname
system '/usr/bin/install-info', '--delete', '--quiet', self.to_s, (self.dirname+'dir').to_s
end
- def all_formula pwd = self
- children.map{ |child| child.relative_path_from(pwd) }.each do |pn|
- yield pn if pn.to_s =~ /.rb$/
- end
- children.each do |child|
- child.all_formula(pwd) do |pn|
- yield pn
- end if child.directory?
- end
- end
-
def find_formula
[self/:Formula, self/:HomebrewFormula, self].each do |d|
if d.exist?