From: Brian Candler Date: 2009-11-24T19:56:04+09:00 Subject: Re: Warning: instance variable @foo not initialized Seebs wrote: > Is there a way > to > do a require that suppresses warnings during parsing of the required > code? Yes - but note that these are run-time, not parse-time warnings. def quietly ov = $VERBOSE $VERBOSE = nil yield ensure $VERBOSE = ov end quietly { p @foo } -- Posted via http://www.ruby-forum.com/.