* enum.c (enum_inject): typo fixed. a patch from Gaku Ueda in

[ruby-core:35216].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2011-02-12 22:41:02 +00:00
Родитель ce430673be
Коммит 00e84afa33
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Sun Feb 13 07:39:51 2011 Yukihiro Matsumoto <matz@ruby-lang.org>
* enum.c (enum_inject): typo fixed. a patch from Gaku Ueda in
[ruby-core:35216].
Sun Feb 13 00:48:47 2011 Tadayoshi Funaba <tadf@dotrb.org>
* lib/date.rb (Date#===): [ruby-core:35127]

2
enum.c
Просмотреть файл

@ -537,7 +537,7 @@ inject_op_i(VALUE i, VALUE p, int argc, VALUE *argv)
* will be passed to the named method of <i>memo</i>.
* In either case, the result becomes the new value for <i>memo</i>.
* At the end of the iteration, the final value of <i>memo</i> is the
* return value fo the method.
* return value for the method.
*
* If you do not explicitly specify an <i>initial</i> value for <i>memo</i>,
* then uses the first element of collection is used as the initial value