From 43c39afb8f2b8026ac8fbdb1f8aa570f29a6e477 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 9 Mar 2013 17:13:01 -0600 Subject: [PATCH] Use attr_accessor to suppress warning --- Library/Homebrew/superenv.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/superenv.rb b/Library/Homebrew/superenv.rb index acc3695153..dec9090d18 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