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

* enum.c (enum_inject): fix typo of rdoc.

patched by Andrei Kulakov [ruby-core:31768]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2010-08-19 02:12:32 +00:00
parent 078d19b29f
commit fee5e4ff5f
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Aug 19 11:11:24 2010 NARUSE, Yui <naruse@ruby-lang.org>
* enum.c (enum_inject): fix typo of rdoc.
patched by Andrei Kulakov [ruby-core:31768]
Thu Aug 19 10:06:08 2010 Tanaka Akira <akr@fsij.org>
* ext/pathname/pathname.c (path_extname): Pathname#extname translated

2
enum.c
View file

@ -527,7 +527,7 @@ inject_op_i(VALUE i, VALUE p, int argc, VALUE *argv)
* operation, specified by a block or a symbol that names a
* method or operator.
*
* If you specify a block, then for each element in <i>enum<i>
* If you specify a block, then for each element in <i>enum</i>
* the block is passed an accumulator value (<i>memo</i>) and the element.
* If you specify a symbol instead, then each element in the collection
* will be passed to the named method of <i>memo</i>.