Skip to content

Commit c5a4793

Browse files
Merge pull request #342 from jethrodaniel/issue-341
add explicit ** to silence Ruby 2.7 warning
2 parents 9eb2061 + 945bbcb commit c5a4793

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net/ldap/connection.rb

+1-1
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)