From: Timothy Hunter Date: 2006-11-19T02:13:43+09:00 Subject: Re: ruby equivalent PHP function is_numeric? matt neuburg wrote: > Michael Fellinger wrote: > > >> class String >> def to_numeric >> Integer(self) rescue Float(self) rescue nil >> end >> end >> > > Where can I find documentation on the syntax of "rescue" that makes this > work? > > Thx - m. > > Pickaxe 2nd ed. page 374: "Exceptions may be handled...after the execution of a single statement."