From 9ef4e13459c95922e7384194c90b91bf67dd785a Mon Sep 17 00:00:00 2001 From: zzak Date: Fri, 12 Apr 2013 02:59:07 +0000 Subject: * array.c: Document synonymous methods, by windwiny [GH-277] * bignum.c: ditto * complex.c: ditto * dir.c: ditto * encoding.c: ditto * enumerator.c: ditto * numeric.c: ditto * proc.c: ditto * re.c: ditto * string.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- enumerator.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'enumerator.c') diff --git a/enumerator.c b/enumerator.c index 3aa0d2ea78..44c574728b 100644 --- a/enumerator.c +++ b/enumerator.c @@ -526,6 +526,8 @@ enumerator_with_object_i(VALUE val, VALUE memo, int argc, VALUE *argv) /* * call-seq: + * e.each_with_object(obj) {|(*args), obj| ... } + * e.each_with_object(obj) * e.with_object(obj) {|(*args), obj| ... } * e.with_object(obj) * @@ -1501,6 +1503,7 @@ lazy_flat_map_func(VALUE val, VALUE m, int argc, VALUE *argv) /* * call-seq: + * lazy.collect_concat { |obj| block } -> a_lazy_enumerator * lazy.flat_map { |obj| block } -> a_lazy_enumerator * * Returns a new lazy enumerator with the concatenated results of running -- cgit v1.2.3