Hi All,
Upon asking a friend to review my code, he suggested that many people hide
app.run in a begin-rescue block. I assume one might code:
begin
app.run
rescue => err
puts "Application failed:", err
end
(which I got from Hal Fulton's "The Ruby Way")
What are the pros and cons of this approach?
Regards,
Richard
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.719 / Virus Database: 475 - Release Date: 7/13/2004