Skip to content

Commit 80462cf

Browse files
committed
hide (deprecated) Jopenssl constant
1 parent fd631fb commit 80462cf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/jopenssl/version.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@ module JOpenSSL
22
VERSION = '0.10.2.dev'
33
BOUNCY_CASTLE_VERSION = '1.60'
44
end
5-
Jopenssl = JOpenSSL
5+
6+
Object.class_eval do
7+
Jopenssl = JOpenSSL
8+
private_constant :Jopenssl if respond_to?(:private_constant)
9+
end

0 commit comments

Comments
 (0)