From 3a701d728184d31c7abb7a106b78b7630b575081 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@22170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- enumerator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'enumerator.c') diff --git a/enumerator.c b/enumerator.c index 618bd5eeec..f55c3d8f6e 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 v1.2.3