summaryrefslogtreecommitdiff
path: root/gc.h
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-08-11 19:42:59 -0700
committerJeremy Evans <code@jeremyevans.net>2019-08-12 09:56:35 -0700
commit404850e13446c79fb6142f1b32b219753e5cd726 (patch)
tree7ad5ca7ffdf16a25171231df802f5d03ee94b7be /gc.h
parent3979f22cc1a224bad5b8f14610db253660aa974c (diff)
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]
Diffstat (limited to 'gc.h')
0 files changed, 0 insertions, 0 deletions