Skip to content

Commit 8ed5b42

Browse files
authored
Merge pull request #22 from blitline-dev/patch-1
Update tcp_client.rb to be ruby 3+ compatible
2 parents b5ed131 + 81cba55 commit 8ed5b42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net/tcp_client/tcp_client.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class << self
8888
# end
8989
#
9090
def self.connect(params = {})
91-
connection = new(params)
91+
connection = new(**params)
9292
yield(connection)
9393
ensure
9494
connection&.close

0 commit comments

Comments
 (0)