aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAdam Vandenberg2010-06-15 12:35:55 -0700
committerAdam Vandenberg2010-06-15 12:38:04 -0700
commit6fd0a120f1d9bc1d0c0441ad9ce98bf1ffa98cd8 (patch)
tree7a27718e0be6b9fefa0a59307b8443d265cb3f19 /Library/Homebrew
parent8af39f115c2287b39f22827c7e24ab6dc06e3379 (diff)
downloadbrew-6fd0a120f1d9bc1d0c0441ad9ce98bf1ffa98cd8.tar.bz2
External: 'brew fetch' downloads tarballs to cache.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index d31c1fa7a..5353c65d4 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -70,6 +70,8 @@ end
class Formula
include FileUtils
+ attr_reader :url, :version, :homepage, :name, :specs, :downloader
+
# Homebrew determines the name
def initialize name='__UNKNOWN__'
set_instance_variable 'url'
@@ -119,8 +121,6 @@ class Formula
@downloader.cached_location
end
- attr_reader :url, :version, :homepage, :name, :specs
-
def bin; prefix+'bin' end
def sbin; prefix+'sbin' end
def doc; prefix+'share/doc'+name end