diff options
| author | Jack Nagel | 2013-05-26 09:15:47 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-05-26 09:16:27 -0500 |
| commit | fc3cd4d59af42bfe4bf6f506201c5fb9f4695dc0 (patch) | |
| tree | daadfdb0c9ff9520724bac7163e98e7019b54089 /Library | |
| parent | 3e262a61605d8a635b67e29023de2134a2a8ea9d (diff) | |
| download | homebrew-fc3cd4d59af42bfe4bf6f506201c5fb9f4695dc0.tar.bz2 | |
Add required methods to AbstractDownloadStrategy
Fixes #20080.
Diffstat (limited to 'Library')
| -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 |
