summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-29 13:30:15 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-29 13:30:15 +0000
commitf9f47f2c4933c6732f89f5dcb2c0c0a0911d7e73 (patch)
tree3ff82a06060f4f308f7b47986fba303f2f9d8de8
parentf13e70e736931e323259f59f4ff2d5fa85dc869d (diff)
downloadruby-f9f47f2c4933c6732f89f5dcb2c0c0a0911d7e73.tar.gz
ruby-f9f47f2c4933c6732f89f5dcb2c0c0a0911d7e73.tar.xz
ruby-f9f47f2c4933c6732f89f5dcb2c0c0a0911d7e73.zip
* enumerator.c: fix documents.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--enumerator.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8054265be..6ab07a7a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jan 29 22:29:48 2008 Yusuke Endoh <mame@tsg.ne.jp>
+
+ * enumerator.c: fix documents.
+
Tue Jan 29 22:27:11 2008 Yusuke Endoh <mame@tsg.ne.jp>
* range.c: fix SEGV by ("a" .. "z").step(2 ** 30) { }.
diff --git a/enumerator.c b/enumerator.c
index 2069b76ea..02b4f18fb 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -427,7 +427,7 @@ enumerator_next(VALUE obj)
/*
* call-seq:
- * e.next? => e
+ * e.rewind => e
*
* Rewinds the enumeration sequence by the next method.
*/