tony spencer » Ruby http://www.tonyspencer.com It's Just Links Sat, 19 Oct 2013 14:31:31 +0000 http://wordpress.org/?v=2.9.1 hourly 1 Ruby’s try{ catch } block http://www.tonyspencer.com/2007/10/16/rubys-try-catch-block/ http://www.tonyspencer.com/2007/10/16/rubys-try-catch-block/#comments Tue, 16 Oct 2007 23:03:15 +0000 tony http://www.tonyspencer.com/2007/10/16/rubys-try-catch-block/ As are many posts on this blog, this one is just a reminder for myself and anyone else who can’t remember the ruby equivalent of a try/catch block and has had to Google it several times because their memory sucks:

begin

rescue

end

Now next time I Google it I won’t have to sift through 10 articles. :)

]]>
http://www.tonyspencer.com/2007/10/16/rubys-try-catch-block/feed/ 5