Fix broken links to Socket.tcp_fast_fallback=

Since it's a singleton method, it should be referenced as `Socket.tcp_fast_fallback=`,
not `Socket#tcp_fast_fallback=`.
This commit is contained in:
Stan Lo 2024-12-14 19:06:17 +00:00 committed by Nobuyoshi Nakada
parent e08e168a57
commit e9926afb24
Notes: git 2024-12-15 06:36:26 +00:00
3 changed files with 3 additions and 3 deletions

View File

@ -628,7 +628,7 @@ class Socket < BasicSocket
# algorithm by default.
#
# For details on Happy Eyeballs Version 2,
# see {Socket.tcp_fast_fallback=}[rdoc-ref:Socket#tcp_fast_fallback=].
# see {Socket.tcp_fast_fallback=}[rdoc-ref:Socket.tcp_fast_fallback=].
#
# To make it behave the same as in Ruby 3.3 and earlier,
# explicitly specify the option fast_fallback:false.

View File

@ -1870,7 +1870,7 @@ socket_s_ip_address_list(VALUE self)
* If false, Happy Eyeballs Version 2 is disabled.
*
* For details on Happy Eyeballs Version 2,
* see {Socket.tcp_fast_fallback=}[rdoc-ref:Socket#tcp_fast_fallback=].
* see {Socket.tcp_fast_fallback=}[rdoc-ref:Socket.tcp_fast_fallback=].
*/
VALUE socket_s_tcp_fast_fallback(VALUE self) {
return rb_ivar_get(rb_cSocket, tcp_fast_fallback);

View File

@ -23,7 +23,7 @@
* algorithm by default, except on Windows.
*
* For details on Happy Eyeballs Version 2,
* see {Socket.tcp_fast_fallback=}[rdoc-ref:Socket#tcp_fast_fallback=].
* see {Socket.tcp_fast_fallback=}[rdoc-ref:Socket.tcp_fast_fallback=].
*
* To make it behave the same as in Ruby 3.3 and earlier,
* explicitly specify the option fast_fallback:false.