aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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