summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorSeiei Miyagi <hanachin@gmail.com>2019-12-25 21:55:49 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-29 12:59:23 +0900
commita0d1fd16d156d289d5ea46327a98517a9b31f860 (patch)
treef9b9471ad23067b04914cbfb7fbdee5a88a27d0e /dir.c
parentd7bef803ac3546119b30e1d78af0097a9df9c907 (diff)
Fix documentation of Dir#each_child
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2785
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index c72011a..56dfe61 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