diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-14 09:44:20 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-14 09:44:20 +0000 |
commit | 6ecafe0c9865c4187bbf4037fb4e4ac4115e3847 (patch) | |
tree | 5df166b2486d6a498d332b9d7ceed2da9499b262 /lib | |
parent | 67f59eb4abd6ee02ee25d379de70d43533bce87b (diff) | |
download | ruby-6ecafe0c9865c4187bbf4037fb4e4ac4115e3847.tar.gz |
Move autoload to toplevel
So that classes which uses Net::HTTP with https can use OpenSSL
namespace for example exception classes like OpenSSL::SSL::SSLError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index ccaad54f7d..31cbb7a866 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -22,9 +22,9 @@ require_relative 'protocol' require 'uri' +autoload :OpenSSL, 'openssl' module Net #:nodoc: - autoload :OpenSSL, 'openssl' # :stopdoc: class HTTPBadResponse < StandardError; end |