Hi there,
What's Ruby for the following?
if executing the next line wouldn't cause any kind of error then
execute this line
elsif executing the next line wouldn't cause any kind of error then
execute this line
else
I've been reading the API pages for rescue and exceptions and eval but so far have failed in my quest.
Many thanks,
Steven.