defdivide(x,y)beginresult=x/yputs"result is",resultrescueZeroDivisionErrorputs"division by zero!"raise"division by zero"ensureputs"executing finally clause"endendputs"====="divide(2,1)puts"====="divide(2,0)puts"====="

Line 7:in `divide': division by zero (RuntimeError)
from t.rb:16
=====
result is
2
executing finally clause
=====
division by zero!
executing finally clause