Remove documentation that fatal cannot be rescued [ci skip]
You can rescue it: f = ObjectSpace.each_object(Class){|c| break c if c.name == 'fatal'} begin raise f rescue f 2 end # => 2 It's not a good idea to rescue fatal exceptions you didn't generate yourself, though. Fixes [Bug #10691]
This commit is contained in:
parent
3979f22cc1
commit
404850e134
Loading…
x
Reference in New Issue
Block a user