diff options
| author | Jack Nagel | 2014-02-14 15:31:29 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-02-14 15:33:37 -0500 | 
| commit | 3d3ff997c51b50742a1fa55d1bbb8045d67d4fea (patch) | |
| tree | 400618eaa3c19127bd5e905a98b13033a6634966 /Library/Homebrew/download_strategy.rb | |
| parent | a343405894ff9dab67644a9aec2b865e4a5ef053 (diff) | |
| download | homebrew-3d3ff997c51b50742a1fa55d1bbb8045d67d4fea.tar.bz2 | |
VCSDownloadStrategy: document acceptable ref types
Diffstat (limited to 'Library/Homebrew/download_strategy.rb')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index e9907cf38..e69a45b55 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -39,6 +39,8 @@ class AbstractDownloadStrategy  end  class VCSDownloadStrategy < AbstractDownloadStrategy +  REF_TYPES = [:branch, :revision, :revisions, :tag].freeze +    def initialize name, resource      super      @ref_type, @ref = destructure_spec_hash(resource.specs) | 
