Hi, I read in this article:
The important bit there is that all the stuff you can reasonably expect
recover from is under StandardError. Because of this, a default rescue
will not catch anything that isn’t a StandardError. The observant reader
notice that I helpfully showed Interrupt’s position in the hierarchy.
observant reader will also notice that it is not a subclass of
This means that you need to catch it explicitly, or it will cause a
But is it really true? I do:
puts “rescued !!!”
And I get:
=> “rescued !!!”
So is the above article tru or not?