ruby-changes:23387
From: nobu <ko1@a...>
Date: Mon, 23 Apr 2012 22:48:47 +0900 (JST)
Subject: [ruby-changes:23387] nobu:r35438 (trunk): autoload in module scope.
nobu 2012-04-23 22:48:36 +0900 (Mon, 23 Apr 2012) New Revision: 35438 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35438 Log: autoload in module scope. * lib/net/http.rb (Net::OpenSSL): get rid of autoload in global scope not to make tests confused. Modified files: trunk/lib/net/http.rb Index: lib/net/http.rb =================================================================== --- lib/net/http.rb (revision 35437) +++ lib/net/http.rb (revision 35438) @@ -21,9 +21,9 @@ require 'net/protocol' require 'uri' -autoload :OpenSSL, 'openssl' module Net #:nodoc: + autoload :OpenSSL, 'openssl' # :stopdoc: class HTTPBadResponse < StandardError; end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/