Does ruby allow you to treat warnings as errors?
One reason I\'d like to do this is to ensure that if heckle removing a line of code means that a warning occurs, I h
You could also potentially use DTrace, and intercept the calls to rb_warn and rb_warning, though that's not going to produce exceptions you can rescue from somewhere. Rather, it'll just put them somewhere you can easily log them.
rb_warn
rb_warning