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. :)


Share it:
These icons link to social bookmarking sites where readers can share and discover new web pages.

  • Digg
  • del.icio.us
  • DZone
  • Ma.gnolia
  • Netscape
  • Reddit
  • StumbleUpon
  • YahooMyWeb