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:
parent
03d38468ac
commit
3a701d7281
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue