Skip to content

Commit

Permalink
Add required methods to AbstractDownloadStrategy
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknagel committed May 26, 2013
1 parent 9017705 commit 17179ec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Library/Homebrew/download_strategy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ def expand_safe_system_args args
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
Expand Down

0 comments on commit 17179ec

Please # to comment.