Hi,

In the following code, how can I implement the VB "On Error Resume Next"
in ruby?

def error
  raise "ERROR_DELIBERATE"
  print "I'm back"
end
begin
  error
  print "Finishing..."
rescue
  ???
end  

Can I let my program execute either of the 2 print? If I use retry, it
will re-run error, and lock the program.

Thanks
Shannon