J
Joe Ruby
Is there some way to do this in Ruby?
begin
# do stuff, uh-oh an exception gets raised
rescue
retry next
end
There's 'retry' which returns to the same statement that threw the
exception, but I'd like execution to resume at the next statement
following it.
Thanks,
Joe
begin
# do stuff, uh-oh an exception gets raised
rescue
retry next
end
There's 'retry' which returns to the same statement that threw the
exception, but I'd like execution to resume at the next statement
following it.
Thanks,
Joe