summaryrefslogtreecommitdiff
path: root/ext/socket/tcpsocket.c
diff options
context:
space:
mode:
authorMasaki Matsushita <glass.saga@gmail.com>2020-12-11 11:13:13 +0900
committerMasaki Matsushita <glass.saga@gmail.com>2020-12-11 11:13:24 +0900
commit56918578ea48ef3bc6a5f27f884fb2cccbe02c06 (patch)
treefb7c622aa9f36e3fce711b939ed9cd7787dfd346 /ext/socket/tcpsocket.c
parent974e89ae0743e591f0034de6c8dfc41a81d6429d (diff)
Remove unimplemented parameter from comment
:resolv_timeout of TCPSocket.new is not implemented for now.
Diffstat (limited to 'ext/socket/tcpsocket.c')
-rw-r--r--ext/socket/tcpsocket.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/socket/tcpsocket.c b/ext/socket/tcpsocket.c
index 4bd6f87406..51e77a0de9 100644
--- a/ext/socket/tcpsocket.c
+++ b/ext/socket/tcpsocket.c
@@ -12,13 +12,12 @@
/*
* call-seq:
- * TCPSocket.new(remote_host, remote_port, local_host=nil, local_port=nil, resolv_timeout: nil, connect_timeout: nil)
+ * TCPSocket.new(remote_host, remote_port, local_host=nil, local_port=nil, connect_timeout: nil)
*
* Opens a TCP connection to +remote_host+ on +remote_port+. If +local_host+
* and +local_port+ are specified, then those parameters are used on the local
* end to establish the connection.
*
- * [:resolv_timeout] specify the name resolution timeout in seconds.
* [:connect_timeout] specify the timeout in seconds.
*/
static VALUE