From: Paul Brannan Date: 2008-12-04T03:30:40+09:00 Subject: [ruby-core:20267] Re: Behavior: autoload calls rb_require() directly On Thu, Dec 04, 2008 at 03:01:33AM +0900, Charles Oliver Nutter wrote: > If someone installs a new require that doesn't call the old one, the > entire chain breaks. With a plugin, the require process would be pulling > from the plugins, and a nil result means the next in the chain is tried. > The only way to stop the sequence would be to successfully return a > result. I'm having trouble imagining code that doesn't call the old require. I guess it could use eval() and fix up $" itself, or it could call the C rb_require(). I've never seen code that does either, though. Paul