aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_support.rb
diff options
context:
space:
mode:
authorJack Nagel2013-06-06 12:02:25 -0500
committerJack Nagel2013-06-06 12:10:41 -0500
commit856cebd9b45c40f361c62ca780ff8ef8976e64b9 (patch)
tree0300727154fc8d7af783280525bb20fda0000914 /Library/Homebrew/formula_support.rb
parent92d65aace7edfc751c342c019e895d33bbea013c (diff)
downloadbrew-856cebd9b45c40f361c62ca780ff8ef8976e64b9.tar.bz2
Use ivar accessors
Diffstat (limited to 'Library/Homebrew/formula_support.rb')
-rw-r--r--Library/Homebrew/formula_support.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb
index a36f5a387..f1eebd1d7 100644
--- a/Library/Homebrew/formula_support.rb
+++ b/Library/Homebrew/formula_support.rb
@@ -16,11 +16,11 @@ class SoftwareSpec
end
def download_strategy
- @download_strategy ||= DownloadStrategyDetector.detect(@url, @using)
+ @download_strategy ||= DownloadStrategyDetector.detect(url, using)
end
def verify_download_integrity fn
- fn.verify_checksum @checksum
+ fn.verify_checksum(checksum)
rescue ChecksumMissingError
opoo "Cannot verify package integrity"
puts "The formula did not provide a download checksum"
@@ -61,7 +61,7 @@ class SoftwareSpec
end
def mirror val
- @mirrors << val
+ mirrors << val
end
end