summaryrefslogtreecommitdiff
path: root/enumerator.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-17 21:07:33 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-17 21:07:33 +0000
commit7729de4d91ffbf0fe8fa4f2a95b85d3406845471 (patch)
treed930ee058c37104d7cd892dbbb7c56dc775abebc /enumerator.c
parente181ae53918c09139e7f60bf5ad32741d91339cd (diff)
* 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 * 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/trunk@27865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enumerator.c')
-rw-r--r--enumerator.c16
1 files changed, 8 insertions, 8 deletions
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 <i>e</i>.
*/
@@ -1041,7 +1041,7 @@ generator_each(VALUE obj)
/*
* call-seq:
- * stopiteration.result => value
+ * stopiteration.result -> value
*
* Returns the return value of the iterator.
*