[DOC] Fix broken parameter display and see links for Socket

This commit is contained in:
nvh0412 2024-12-15 21:47:16 +11:00 committed by Nobuyoshi Nakada
parent a0db65df29
commit 9389a27e49
Notes: git 2024-12-16 01:07:56 +00:00

View File

@ -1590,7 +1590,7 @@ class Socket < BasicSocket
# Returns 0 if successful, otherwise an exception is raised. # Returns 0 if successful, otherwise an exception is raised.
# #
# === Parameter # === Parameter
# # +remote_sockaddr+ - the +struct+ sockaddr contained in a string or Addrinfo object # * +remote_sockaddr+ - the +struct+ sockaddr contained in a string or Addrinfo object
# #
# === Example: # === Example:
# # Pull down Google's web page # # Pull down Google's web page
@ -1625,7 +1625,7 @@ class Socket < BasicSocket
# return the symbol +:wait_writable+ instead. # return the symbol +:wait_writable+ instead.
# #
# === See # === See
# # Socket#connect # * Socket#connect
def connect_nonblock(addr, exception: true) def connect_nonblock(addr, exception: true)
__connect_nonblock(addr, exception) __connect_nonblock(addr, exception)
end end