$VERBOSE=true returns warnings from standard library

T

Thomas

I normally write my ruby code with $VERBOSE=true. When I do this in
ruby 1.8.0 and use singleton.rb I get the following warning:

c:/ruby180/lib/ruby/1.8/singleton.rb:98: warning: redefine instance

Wouldn't it be nice if there was an option to turn off warnings for
modules in the standard distribution?

Cheers,

Thomas
 
Y

Yukihiro Matsumoto

Hi,

In message "$VERBOSE=true returns warnings from standard library"

|I normally write my ruby code with $VERBOSE=true. When I do this in
|ruby 1.8.0 and use singleton.rb I get the following warning:
|
|c:/ruby180/lib/ruby/1.8/singleton.rb:98: warning: redefine instance
|
|Wouldn't it be nice if there was an option to turn off warnings for
|modules in the standard distribution?

Indeed. I will fix.

matz.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top