summaryrefslogtreecommitdiff
path: root/ext/socket
diff options
context:
space:
mode:
authornvh0412 <[email protected]>2024-12-15 21:47:16 +1100
committerNobuyoshi Nakada <[email protected]>2024-12-16 10:07:39 +0900
commit9389a27e4967a170da98af8cd33d6ee1c063d3d5 (patch)
treea1e7cba51856b647d19f812461a8fc7c471a2c93 /ext/socket
parenta0db65df2932abcc29d2da67a21ca1e8b7814d0e (diff)
[DOC] Fix broken parameter display and see links for Socket
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12350
Diffstat (limited to 'ext/socket')
-rw-r--r--ext/socket/lib/socket.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/socket/lib/socket.rb b/ext/socket/lib/socket.rb
index 28298b5626..6a1ddf9eda 100644
--- a/ext/socket/lib/socket.rb
+++ b/ext/socket/lib/socket.rb
@@ -1590,7 +1590,7 @@ class Socket < BasicSocket
# Returns 0 if successful, otherwise an exception is raised.
#
# === 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:
# # Pull down Google's web page
@@ -1625,7 +1625,7 @@ class Socket < BasicSocket
# return the symbol +:wait_writable+ instead.
#
# === See
- # # Socket#connect
+ # * Socket#connect
def connect_nonblock(addr, exception: true)
__connect_nonblock(addr, exception)
end