1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
hsbt 2015-01-12 04:33:57 +00:00
parent e19cf850df
commit 2f7e05b1b5
2 changed files with 7 additions and 2 deletions

View file

@ -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> Sun Jan 11 15:11:38 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/webrick/test_utils.rb (test_create_listeners): use * test/webrick/test_utils.rb (test_create_listeners): use

View file

@ -1787,9 +1787,9 @@ ary_enum_length(VALUE ary, VALUE args, VALUE eobj)
* ary.each -> Enumerator * ary.each -> Enumerator
* *
* Calls the given block once for each element in +self+, passing that element * 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 = [ "a", "b", "c" ]
* a.each {|x| print x, " -- " } * a.each {|x| print x, " -- " }