From c08fe408722d28daebaa62f0b820147b0d66986f Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Fri, 24 Mar 2023 16:16:32 -0700 Subject: Fix Dir.for_fd call-seq --- dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dir.c b/dir.c index 93f4889958..825f371a40 100644 --- a/dir.c +++ b/dir.c @@ -591,7 +591,7 @@ dir_s_close(rb_execution_context_t *ec, VALUE klass, VALUE dir) # if defined(HAVE_FDOPENDIR) && defined(HAVE_DIRFD) /* * call-seq: - * Dir.fdopendir(integer) -> aDir + * Dir.for_fd(integer) -> aDir * * Returns a Dir representing the directory specified by the given * directory file descriptor. Note that the returned Dir will not -- cgit v1.2.3