[ruby-cvs:57642] tenderlove:r50494 (trunk): * variable.c: Change autoload to call `require` through Ruby rather

tenderlove at ruby-lang.org tenderlove at ruby-lang.org
Fri May 15 06:57:35 JST 2015


tenderlove	2015-05-15 06:57:33 +0900 (Fri, 15 May 2015)

  New Revision: 50494

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50494

  Log:
    * variable.c: Change autoload to call `require` through Ruby rather
      than directly calling `rb_require_safe`.  This allows things like
      RubyGems to intercept file loading done though `autoload`.
      [Feature #11140]
    
    * test/ruby/test_autoload.rb: Test for change.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_autoload.rb
    trunk/variable.c


More information about the ruby-cvs mailing list