diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-12 04:33:57 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-12 04:33:57 +0000 |
commit | 2f7e05b1b54db0129d8f6d2a9a4a60271d71821b (patch) | |
tree | bc547bd746effc1e32cab999bc19991176273250 | |
parent | e19cf850df3935320294e3438f39ee7848a50d12 (diff) | |
download | ruby-2f7e05b1b54db0129d8f6d2a9a4a60271d71821b.tar.gz |
* array.c (rb_ary_each): documented return value.
[misc #10469][ruby-core:66063]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | array.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Mon Jan 12 13:33:52 2015 SHIBATA Hiroshi <shibata.hiroshi@gmail.com> + + * array.c (rb_ary_each): documented return value. + [misc #10469][ruby-core:66063] + Sun Jan 11 15:11:38 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> * test/webrick/test_utils.rb (test_create_listeners): use @@ -1787,9 +1787,9 @@ ary_enum_length(VALUE ary, VALUE args, VALUE eobj) * ary.each -> Enumerator * * Calls the given block once for each element in +self+, passing that element - * as a parameter. + * as a parameter. Returns the array itself. * - * An Enumerator is returned if no block is given. + * If no block is given, an Enumerator is returned. * * a = [ "a", "b", "c" ] * a.each {|x| print x, " -- " } |