aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
authorJack Nagel2014-02-21 00:41:07 -0500
committerJack Nagel2014-02-21 00:41:07 -0500
commit37b3bbbc11bbd2c2d0449f6caad3911eb788174c (patch)
tree7c44c97be7b5dfea36c3fab61ce4e130eff827dc /Library/Homebrew/formula.rb
parent9880ace3ed935d7bf735c149f0bf9f3ce72e08d1 (diff)
downloadhomebrew-37b3bbbc11bbd2c2d0449f6caad3911eb788174c.tar.bz2
Remove downloader from Formula
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index dc95f6293..732899fa5 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -119,16 +119,12 @@ class Formula
active_spec.requirements
end
- def downloader
- active_spec.downloader
- end
-
def cached_download
- downloader.cached_location
+ active_spec.cached_download
end
def clear_cache
- downloader.clear_cache
+ active_spec.clear_cache
end
# if the dir is there, but it's empty we consider it not installed