Skip to content
This repository was archived by the owner on Aug 29, 2024. It is now read-only.

Commit ba89ff1

Browse files
postmodernolleolleolle
authored andcommitted
Fixed a YARD @param tag name
1 parent 3a5b263 commit ba89ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/async/io/socket.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def connect(*args)
5757

5858
alias connect_nonblock connect
5959

60-
# @param duration [Numeric] the maximum time to wait for accepting a connection, if specified.
60+
# @param timeout [Numeric] the maximum time to wait for accepting a connection, if specified.
6161
def accept(timeout: nil, task: Task.current)
6262
peer, address = async_send(:accept_nonblock, timeout: timeout)
6363
wrapper = Socket.new(peer, task.reactor)

0 commit comments

Comments
 (0)