aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-03-09 17:13:01 -0600
committerJack Nagel2013-03-09 17:13:41 -0600
commit43c39afb8f2b8026ac8fbdb1f8aa570f29a6e477 (patch)
tree0c06004fbe72c0ad1f007c9ff6e88a623547580e /Library
parenta21be66fc868c9c343372e1fb798f68087acc95b (diff)
downloadbrew-43c39afb8f2b8026ac8fbdb1f8aa570f29a6e477.tar.bz2
Use attr_accessor to suppress warning
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/superenv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/superenv.rb b/Library/Homebrew/superenv.rb
index acc369515..dec9090d1 100644
--- a/Library/Homebrew/superenv.rb
+++ b/Library/Homebrew/superenv.rb
@@ -255,7 +255,7 @@ class << ENV
fetch(key)
elsif %w{CPPFLAGS CFLAGS LDFLAGS}.include? key
class << (a = "")
- attr :key, true
+ attr_accessor :key
def + value
ENV[key] = value
end