diff options
| author | Jack Nagel | 2013-03-09 17:13:01 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-03-09 17:13:41 -0600 |
| commit | 43c39afb8f2b8026ac8fbdb1f8aa570f29a6e477 (patch) | |
| tree | 0c06004fbe72c0ad1f007c9ff6e88a623547580e /Library | |
| parent | a21be66fc868c9c343372e1fb798f68087acc95b (diff) | |
| download | brew-43c39afb8f2b8026ac8fbdb1f8aa570f29a6e477.tar.bz2 | |
Use attr_accessor to suppress warning
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/superenv.rb | 2 |
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 |
