From a0d1fd16d156d289d5ea46327a98517a9b31f860 Mon Sep 17 00:00:00 2001 From: Seiei Miyagi Date: Wed, 25 Dec 2019 21:55:49 +0900 Subject: [PATCH] Fix documentation of Dir#each_child --- dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dir.c b/dir.c index c72011a0d9..56dfe614d5 100644 --- a/dir.c +++ b/dir.c @@ -3031,7 +3031,7 @@ dir_s_each_child(int argc, VALUE *argv, VALUE io) /* * call-seq: - * dir.each_child {| filename | block } -> nil + * dir.each_child {| filename | block } -> dir * dir.each_child -> an_enumerator * * Calls the block once for each entry except for "." and ".." in