summaryrefslogtreecommitdiffstats
path: root/array.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-06 12:33:45 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-06 12:33:45 +0000
commit7ae21b1db0303625ccb7f460619e2f68a248d2ab (patch)
tree0b19582f07ef27790bde97603bd271efb88bcb35 /array.c
parent600b64dd3af65d9b87f3d7fe634106564f0abb04 (diff)
downloadruby-7ae21b1db0303625ccb7f460619e2f68a248d2ab.tar.gz
ruby-7ae21b1db0303625ccb7f460619e2f68a248d2ab.tar.xz
ruby-7ae21b1db0303625ccb7f460619e2f68a248d2ab.zip
* array.c (rb_ary_cycle): typo in rdoc. a patch from Yugui
<yugui@yugui.sakura.ne.jp>. [ruby-dev:31748] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index d2cf5ac1f..3b9a294d9 100644
--- a/array.c
+++ b/array.c
@@ -2929,7 +2929,7 @@ rb_ary_choice(VALUE ary)
* Calls <i>block</i> repeatedly forever.
*
* a = ["a", "b", "c"]
- * a.each {|x| puts x } # print, a, b, c, a, b, c,.. forever.
+ * a.cycle {|x| puts x } # print, a, b, c, a, b, c,.. forever.
*
*/