Source file is attached. I'm new to this forum so I don't know if there are options for code formatting.. but i have attached the source code. This program can be seen in action at the following link: http://codepad.org/QDrSdEGA I think this is a clever way to illustrate how exception handling is controlled in Ruby. Sorry there aren't any comments...
on 2012-11-30 01:32
on 2012-11-30 05:20
Sorry the link above is broken. Use this one instead http://codepad.org/iXXJwYrU
on 2012-12-02 00:21
On Fri, Nov 30, 2012 at 5:43 AM, Nathan Mr. <lists@ruby-forum.com> wrote: > I updated the file and added comments. > > Here you go > > http://codepad.org/qVPc35hV All three codepad links came up 404. How clever is that? > Attachments: > http://www.ruby-forum.com/attachment/7914/can_happen.rb If you intend to provide good examples for people learning exception handling: as a learner I would prefer several examples which each _do one thing_. Also, there would have to be explanation of what is demonstrated - and meaningful names. Cheers robert
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.