aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-05-26 09:15:47 -0500
committerJack Nagel2013-05-26 09:16:27 -0500
commit68b3e6f3fb4947076b94a7c0ab09281a8f19fda4 (patch)
tree8de2bb283ad2776046be3979986ac86c087b5680 /Library
parentaecdcf768b17cf218c8c539efb87f7afda7ca4b8 (diff)
downloadbrew-68b3e6f3fb4947076b94a7c0ab09281a8f19fda4.tar.bz2
Add required methods to AbstractDownloadStrategy
Fixes Homebrew/homebrew#20080.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 589de6e89..6745219fb 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -28,6 +28,11 @@ class AbstractDownloadStrategy
def quiet_safe_system *args
safe_system(*expand_safe_system_args(args))
end
+
+ # All download strategies are expected to implement these methods
+ def fetch; end
+ def stage; end
+ def cached_location; end
end
class CurlDownloadStrategy < AbstractDownloadStrategy