Catching and examining exceptions in a IRB session
When developing with Ruby, I usually spend a lot of time inside a IRB session. You can test little helper functions you are using, etc, etc.
Sometimes, you want to test one function that is not supposed to throw an exception, but is doing so. And the backtrace shows you that the error is buried very deeply in your [...]