Fix Dir.for_fd call-seq

This commit is contained in:
Jeremy Evans 2023-03-24 16:16:32 -07:00
parent 09295ea796
commit c08fe40872

2
dir.c
View File

@ -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