Use attr_accessor to suppress warning

This commit is contained in:
Jack Nagel 2013-03-09 17:13:01 -06:00
parent a21be66fc8
commit 43c39afb8f

View File

@ -255,7 +255,7 @@ class << ENV
fetch(key) fetch(key)
elsif %w{CPPFLAGS CFLAGS LDFLAGS}.include? key elsif %w{CPPFLAGS CFLAGS LDFLAGS}.include? key
class << (a = "") class << (a = "")
attr :key, true attr_accessor :key
def + value def + value
ENV[key] = value ENV[key] = value
end end