From dd1d0bb26957063e5f68bc0e3cadb39155e835aa Mon Sep 17 00:00:00 2001 From: knu Date: Mon, 9 Feb 2009 05:52:09 +0000 Subject: Slightly fix rdoc of with_index. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- enumerator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enumerator.c b/enumerator.c index 618bd5eee..f55c3d8f6 100644 --- a/enumerator.c +++ b/enumerator.c @@ -407,7 +407,7 @@ enumerator_with_index_i(VALUE val, VALUE *memo) /* * call-seq: * e.with_index(offset = 0) {|(*args), idx| ... } - * e.with_index + * e.with_index(offset = 0) * * Iterates the given block for each element with an index, which * starts from +offset+. If no block is given, returns an enumerator. -- cgit