M
Mat Schaffer
Sorry to beat a dead horse, but I still have a question on the
optional 'begin' sentiment when rescuing exceptions. It seems like
the standing issue was with the use of it in brackets. Especially
when deciding which exception to catch or adding an ensure.
Would this be unreasonable?
foo {
blah
rescue ExceptionA
handle A
rescue ExceptionB
handle B
ensure
finish things
}
Actually, it feels a little like a goto now that I type it out. That
could be a bad sign....
-Mat
optional 'begin' sentiment when rescuing exceptions. It seems like
the standing issue was with the use of it in brackets. Especially
when deciding which exception to catch or adding an ensure.
Would this be unreasonable?
foo {
blah
rescue ExceptionA
handle A
rescue ExceptionB
handle B
ensure
finish things
}
Actually, it feels a little like a goto now that I type it out. That
could be a bad sign....
-Mat