From 26134a6dc13f8cd6af6692ae53d440d7ea9deb13 Mon Sep 17 00:00:00 2001 From: marcandre Date: Mon, 17 May 2010 21:50:00 +0000 Subject: * array.c: Documentation: change => in call-seq to ->. Harmonize "#=>" in examples. [ruby-core:30206] * bignum.c: ditto * class.c: ditto * compar.c: ditto * cont.c: ditto * dir.c: ditto * encoding.c: ditto * enum.c: ditto * enumerator.c: ditto * error.c: ditto * eval.c: ditto * file.c: ditto * gc.c: ditto * hash.c: ditto * io.c: ditto * load.c: ditto * marshal.c: ditto * math.c: ditto * numeric.c: ditto * object.c: ditto * pack.c: ditto * proc.c: ditto * process.c: ditto * random.c: ditto * range.c: ditto * re.c: ditto * ruby.c: ditto * signal.c: ditto * sprintf.c: ditto * string.c: ditto * struct.c: ditto * thread.c: ditto * time.c: ditto * transcode.c: ditto * variable.c: ditto * vm_eval.c: ditto * vm_method.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- enumerator.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'enumerator.c') diff --git a/enumerator.c b/enumerator.c index 64ff841a11..7f5b854449 100644 --- a/enumerator.c +++ b/enumerator.c @@ -474,7 +474,7 @@ get_next_values(VALUE obj, struct enumerator *e) /* * call-seq: - * e.next_values => array + * e.next_values -> array * * Returns the next object as an array in the enumerator, * and move the internal position forward. @@ -553,7 +553,7 @@ ary2sv(VALUE args, int dup) /* * call-seq: - * e.next => object + * e.next -> object * * Returns the next object in the enumerator, and move the internal * position forward. When the position reached at the end, StopIteration @@ -592,7 +592,7 @@ enumerator_peek_values(VALUE obj) /* * call-seq: - * e.peek_values => array + * e.peek_values -> array * * Returns the next object as an array in the enumerator, * but don't move the internal position forward. @@ -624,7 +624,7 @@ enumerator_peek_values_m(VALUE obj) /* * call-seq: - * e.peek => object + * e.peek -> object * * Returns the next object in the enumerator, but don't move the internal * position forward. When the position reached at the end, StopIteration @@ -651,7 +651,7 @@ enumerator_peek(VALUE obj) /* * call-seq: - * e.feed obj => nil + * e.feed obj -> nil * * Set the value for the next yield in the enumerator returns. * @@ -700,7 +700,7 @@ enumerator_feed(VALUE obj, VALUE v) /* * call-seq: - * e.rewind => e + * e.rewind -> e * * Rewinds the enumeration sequence by the next method. * @@ -781,7 +781,7 @@ inspect_enumerator(VALUE obj, VALUE dummy, int recur) /* * call-seq: - * e.inspect => string + * e.inspect -> string * * Create a printable version of e. */ @@ -1041,7 +1041,7 @@ generator_each(VALUE obj) /* * call-seq: - * stopiteration.result => value + * stopiteration.result -> value * * Returns the return value of the iterator. * -- cgit v1.2.3