From: "Hal E. Fulton" Date: 2003-08-20T04:12:52+09:00 Subject: Re: $VERBOSE=true returns warnings from standard library ----- Original Message ----- From: To: "ruby-talk ML" Sent: Tuesday, August 19, 2003 10:43 AM Subject: Re: $VERBOSE=true returns warnings from standard library > I think the discarding method warning is potentially useful for a > case like: > > class C > def x; end > def xx; end > def xx; end # whoops, meant to type xxx > end > > where you accidentally trample a method. It's a fairly marginal > scenario, but it's probably best to have it issue a warning just in > case. Well, I tend to agree in theory... but I redefine methods often, and find the warning annoying. And I think the warning has never helped me, it has only gotten in my way. Isn't there a way to turn warnings on and off at runtime? Can't think how. Hal -- Hal Fulton hal9000@hypermetrics.com