Matt Armstrong wrote:
If you look at the ruby source, $DEBUG does only 2 things:
- prints out exceptions when they happen - act as if Thread.abort_on_exception = true, even if it isn't.
If you don’t like the first, just set Thread.abort_on_exception to
true.Ah, I was overestimating the functionality of $DEBUG. I have
Thread.abort_on_exception = true anyway, so I’ll just turn off $DEBUG.Thanks!
I see “warnings” with $DEBUG on as well:
Oracle.rb:40: warning: method redefined; discarding old to_i
Or is this an internal exception of some kind within ruby?
Regards,
Dan