summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2023-03-24 16:16:32 -0700
committerJeremy Evans <code@jeremyevans.net>2023-03-24 16:16:32 -0700
commitc08fe408722d28daebaa62f0b820147b0d66986f (patch)
tree8e0c69a1d07e7aa6fba23da1ded77bd7210b79f6
parent09295ea796900fb7b05d29e93364090e21598566 (diff)
Fix Dir.for_fd call-seq
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
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