----- Original Message ----- 
From: <dblack / superlink.net>
To: "ruby-talk ML" <ruby-talk / ruby-lang.org>
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