aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-01-23 19:29:55 -0800
committerAdam Vandenberg2012-01-23 19:29:55 -0800
commit2d4d0c465590cde8a4124a38a253eeeeaea160b3 (patch)
treec9fcc7c69ad0b372d3088eeab46e1646e8a7c238 /Library
parent0f499ac7bee6390d640ff3c636ea026fb47b4ad9 (diff)
downloadbrew-2d4d0c465590cde8a4124a38a253eeeeaea160b3.tar.bz2
Rubyisms
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 625dbaf9a..f8e66001f 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -188,7 +188,7 @@ class CurlUnsafeDownloadStrategy < CurlDownloadStrategy
end
# This strategy extracts our binary packages.
-class CurlBottleDownloadStrategy <CurlDownloadStrategy
+class CurlBottleDownloadStrategy < CurlDownloadStrategy
def initialize url, name, version, specs
super
@tarball_path = HOMEBREW_CACHE/"#{name}-#{version}.bottle#{ext}"
@@ -199,7 +199,7 @@ class CurlBottleDownloadStrategy <CurlDownloadStrategy
end
end
-class SubversionDownloadStrategy <AbstractDownloadStrategy
+class SubversionDownloadStrategy < AbstractDownloadStrategy
def initialize url, name, version, specs
super
@unique_token="#{name}--svn" unless name.to_s.empty? or name == '__UNKNOWN__'