Memorandums, Logbook & Shares
Thursday, January 24, 2013
Ruby - Catch or rescue multiple exceptions on the same line.
begin
...
rescue ExceptionType1, ExceptionType2 => e
...
end
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.