mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
autoload in module scope.
* lib/net/http.rb (Net::OpenSSL): get rid of autoload in global scope not to make tests confused. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7255d93b08
commit
cf6116150c
1 changed files with 1 additions and 1 deletions
|
@ -21,9 +21,9 @@
|
|||
|
||||
require 'net/protocol'
|
||||
require 'uri'
|
||||
autoload :OpenSSL, 'openssl'
|
||||
|
||||
module Net #:nodoc:
|
||||
autoload :OpenSSL, 'openssl'
|
||||
|
||||
# :stopdoc:
|
||||
class HTTPBadResponse < StandardError; end
|
||||
|
|
Loading…
Reference in a new issue