Skip to content

Commit a4d2e96

Browse files
committed
Revert "Work around autoloading bugs"
* This reverts commit 4cd500f. * The workaround is no longer needed.
1 parent 6bd14d8 commit a4d2e96

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

lib/mri/net/http.rb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,7 @@
2222

2323
require_relative 'protocol'
2424
require 'uri'
25-
26-
if RUBY_ENGINE == 'truffleruby'
27-
# See tagged specs around autoload
28-
require 'openssl'
29-
else
30-
autoload :OpenSSL, 'openssl'
31-
end
25+
autoload :OpenSSL, 'openssl'
3226

3327
module Net #:nodoc:
3428

0 commit comments

Comments
 (0)