ruby-changes:59549
From: Seiei <ko1@a...>
Date: Sun, 29 Dec 2019 12:59:41 +0900 (JST)
Subject: [ruby-changes:59549] a0d1fd16d1 (master): Fix documentation of Dir#each_child
https://git.ruby-lang.org/ruby.git/commit/?id=a0d1fd16d1 From a0d1fd16d156d289d5ea46327a98517a9b31f860 Mon Sep 17 00:00:00 2001 From: Seiei Miyagi <hanachin@g...> Date: Wed, 25 Dec 2019 21:55:49 +0900 Subject: Fix documentation of Dir#each_child 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) https://github.com/ruby/ruby/blob/trunk/dir.c#L3031 /* * 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/