mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* enum.c (enum_inject): remove empty line to notify rdoc
Enumerable#reduce is alias. patched by milki@github. https://github.com/ruby/ruby/pull/26 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
35f2f9bf13
commit
579f2a0aa8
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Thu Jul 21 18:11:07 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* enum.c (enum_inject): remove empty line to notify rdoc
|
||||
Enumerable#reduce is alias. patched by milki@github.
|
||||
https://github.com/ruby/ruby/pull/26
|
||||
|
||||
Thu Jul 21 17:30:21 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* array.c (rb_ary_delete_at_m): use simple array literal in rdoc.
|
||||
|
|
1
enum.c
1
enum.c
|
@ -521,7 +521,6 @@ inject_op_i(VALUE i, VALUE p, int argc, VALUE *argv)
|
|||
* enum.inject(sym) -> obj
|
||||
* enum.inject(initial) {| memo, obj | block } -> obj
|
||||
* enum.inject {| memo, obj | block } -> obj
|
||||
*
|
||||
* enum.reduce(initial, sym) -> obj
|
||||
* enum.reduce(sym) -> obj
|
||||
* enum.reduce(initial) {| memo, obj | block } -> obj
|
||||
|
|
Loading…
Reference in a new issue