Ruby Is Hiding Errors From You!
Ruby will intentionally hide some errors & exceptions from you. Sometimes this can be useful. Like when using the Kernel#loop method with a block, the loop will stop when a StopIteration exception is raised. But other times this can make your debugging sessions a lot harder. Let’s see some examples! Hidden Exception: Comparable Module + … Read more