Hi,

In message "class level Exception handling"
    on 03/03/21, Xiangrong Fang <xrfang / hotmail.com> writes:

|1. in a File.open do ... end block, if I call break or return to exit
|the block, will the file be closed?

Yes.

|2. Is there a way to write a class-level exception handler?

Currently no such way.  AspectR may help you.  But I have no
confidence.

							matz.