From: 7stud -- Date: 2007-11-10T05:17:42+09:00 Subject: Re: ruby exception handling Franck Yu wrote: > > It makes sense but where is it documented? In the Ruby programming > language spec? Where can I find the info? In pickaxe2, Chapter 22: The Ruby Language, section Method Definition, p. 345, the listing for the general syntax of a method definition does not indicate that a rescue block can be attached to a method. However, on p. 347 the text says, "The body of a method acts as if it were a begin/end block, in that it may contain exception handling statements(rescue, else, and ensure)." Also, in the same chapter, section Exceptions, p. 361, it says, "A block or method may have multiple rescue clauses....When an exception is raised, Ruby scans up the call stack until it finds an enclosing begin/end block, method body, or statement with a rescue modifier." -- Posted via http://www.ruby-forum.com/.