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:
parent
67f59eb4ab
commit
6ecafe0c98
1 changed files with 1 additions and 1 deletions
|
@ -22,9 +22,9 @@
|
||||||
|
|
||||||
require_relative 'protocol'
|
require_relative 'protocol'
|
||||||
require 'uri'
|
require 'uri'
|
||||||
|
autoload :OpenSSL, 'openssl'
|
||||||
|
|
||||||
module Net #:nodoc:
|
module Net #:nodoc:
|
||||||
autoload :OpenSSL, 'openssl'
|
|
||||||
|
|
||||||
# :stopdoc:
|
# :stopdoc:
|
||||||
class HTTPBadResponse < StandardError; end
|
class HTTPBadResponse < StandardError; end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue