On Fri, Feb 23, 2007, Mage wrote:
> Robert Klemme wrote:
> > rescue without exception spec just handles RuntimeError - that's also
> > documented behavior IIRC.
> >
> I think it's not documented, or I just skipped?
> 
> http://www.rubycentral.com/book/tut_exceptions.html

It is:

  The match is made using $!.kind_of?(parameter), and so will succeed if
  the parameter has the same class as the exception or is an ancestor of
  the exception. If you write a rescue clause with no parameter list, the
  parameter defaults to StandardError.

Easy to miss, though.  Took me a while to find it.  The explanation is
clearer (IIRC) in the second edition.

Ben