From: Phlip Date: 2008-07-21T00:29:46+09:00 Subject: Re: Does "rescue" wihtour argument handle any kind of Exception or not? Stefano Crocco wrote: >> irb> p Interrupt.ancestors >> [Interrupt, SignalException, Exception, Object, Wirble::Shortcuts, >> PP::ObjectMixin, Kernel] >> It's different! It's the same! StandardError is not on the list. > The two extra ancestors come from files you most likely auto-load when irb > starts up, namely wirble.rb and pp.rb Stupid polymorphic mixins! Gotta do this: rescue p $1 p $1.message end You might be rescuing something else. -- Phlip