We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99d93ea commit 45ac34dCopy full SHA for 45ac34d
lib/net/ldap/connection.rb
@@ -22,7 +22,7 @@ def initialize(server = {})
22
@instrumentation_service = server[:instrumentation_service]
23
24
# Allows tests to parameterize what socket class to use
25
- @socket_class = server.fetch(:socket_class, DefaultSocket)
+ @socket_class = server.fetch(:socket_class, DefaultSocket) || DefaultSocket
26
27
yield self if block_given?
28
end
0 commit comments