1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
naruse 2018-12-14 09:44:20 +00:00
parent 67f59eb4ab
commit 6ecafe0c98

View file

@ -22,9 +22,9 @@
require_relative 'protocol'
require 'uri'
autoload :OpenSSL, 'openssl'
module Net #:nodoc:
autoload :OpenSSL, 'openssl'
# :stopdoc:
class HTTPBadResponse < StandardError; end