f



warnings as errors?

Is there a way to tell Ruby to treat warnings as errors?

When writing my tutorial, I wanted a way to programmatically detect if
a function was generating warnings, so I could show that warning on
screen.

Now I'm in another situation, using drb, where I can't see the
warnings.  (And I think they are causing these "broken pipe" errors I
am getting, but even if they aren't...)

I could handle all of these problems if I could tell Ruby to treat
warnings as errors.  Is there any way to do this?

Thanks,

Chris



0
glyconis (29)
5/6/2005 11:32:06 AM
comp.lang.ruby 48886 articles. 0 followers. Post Follow

0 Replies
2973 Views

Similar Articles

[PageSpeed] 45

Reply: