From c061f264e9439de3111a5b4d303bd2e73c8a7ec8 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 9 Mar 2013 17:13:01 -0600 Subject: Use attr_accessor to suppress warning --- Library/Homebrew/superenv.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3