Skip to content

Commit 945bbcb

Browse files
author
Mark Delk
committed
add explicit ** to silence Ruby 2.7 warning
1 parent e25b881 commit 945bbcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net/ldap/connection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ def socket
710710
# Wrap around Socket.tcp to normalize with other Socket initializers
711711
class DefaultSocket
712712
def self.new(host, port, socket_opts = {})
713-
Socket.tcp(host, port, socket_opts)
713+
Socket.tcp(host, port, **socket_opts)
714714
end
715715
end
716716
end # class Connection

0 commit comments

Comments
 (0)