зеркало из https://github.com/github/ruby.git
* 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:
Родитель
078d19b29f
Коммит
fee5e4ff5f
|
@ -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
2
enum.c
|
@ -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>.
|
||||
|
|
Загрузка…
Ссылка в новой задаче