From: Ben Vishny Date: 2010-02-08T11:00:28+09:00 Subject: Re: Rescue Block does not work Yukihiro Matsumoto wrote: > Hi, > > In message "Re: Rescue Block does not work" > on Mon, 8 Feb 2010 10:45:27 +0900, Ben Vishny > writes: > > |Does this mean that the rescue block doesn't work because the error I'm > |trying to catch isn't part of StandardError? > > On 1.8, Timeout::Error is a subclass of Interrupt, which is NOT a > subclass of StandardError. Explicitly specify the error to catch the > timeout. > > > matz. Matz, Thanks so much! I'm using Timeout::Error now and having no problems. You wrote one kick-ass language, btw. Ben -- Posted via http://www.ruby-forum.com/.