From 579f2a0aa84664382ddbab1e4aef1a6ed8fa6455 Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 21 Jul 2011 09:12:36 +0000 Subject: [PATCH] * 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 --- ChangeLog | 6 ++++++ enum.c | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9f8263598c..4f575368ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Jul 21 18:11:07 2011 NARUSE, Yui + + * 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 * array.c (rb_ary_delete_at_m): use simple array literal in rdoc. diff --git a/enum.c b/enum.c index 9ced77714a..de954c938f 100644 --- a/enum.c +++ b/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