1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Slightly fix rdoc of with_index.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2009-02-09 05:52:09 +00:00
parent 03d38468ac
commit 3a701d7281

View file

@ -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.