From: nobu.nokada@... Date: 2002-01-07T13:20:56+09:00 Subject: [ruby-talk:30425] Re: modifier form of rescue At Mon, 7 Jan 2002 12:38:12 +0900, Jack Dempsey wrote: > but this doesn't > > require 'blahblah' rescue print "No such file!\n" The modifier catches only StandardError and its subclasses. $ ruby -e 'p LoadError < StandardError' false You need to specify LoadError explicitly. begin require 'blahblah' rescue LoadError print "No such file!\n" end -- Nobu Nakada