diff options
| author | Jack Nagel | 2013-05-26 09:15:47 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-05-26 09:16:27 -0500 |
| commit | 68b3e6f3fb4947076b94a7c0ab09281a8f19fda4 (patch) | |
| tree | 8de2bb283ad2776046be3979986ac86c087b5680 | |
| parent | aecdcf768b17cf218c8c539efb87f7afda7ca4b8 (diff) | |
| download | brew-68b3e6f3fb4947076b94a7c0ab09281a8f19fda4.tar.bz2 | |
Add required methods to AbstractDownloadStrategy
Fixes Homebrew/homebrew#20080.
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 5 |
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 |
