From: Zachary Scott Date: 2012-09-15T23:32:44+09:00 Subject: [ruby-core:47543] Re: autoload & require Hello, Kernel#autoload uses rb_autoload, which is defined in variable.c[1] https://github.com/ruby/ruby/blob/trunk/variable.c#L1570 Beyond that, I'm not sure of the rationale. On Sat, Sep 15, 2012 at 3:22 AM, Xavier Noria wrote: > Hi, > > I am trying to decorate Kernel#require. While the wrapper works well with > regular require calls, I have seen it is not called by Kernel#autoload. Is > autoload using a custom C function? If so, is there a rationale for that? >