Update documentation of fetch
The sentence Negative values of +index+ count from the end of the array. can be interpreted that it only holds if a block is given. Clarify it.
Negative values of +index+ count from the end of the array.
Patch by: Lukas Elmer lukas.elmer@gmail.com (@lukaselmer (Lukas Elmer)) Signed-off-by: Akira Matsuda ronnie@dio.jp
closes #1472 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Update documentation of fetch
The sentence
Negative values of +index+ count from the end of the array.
can be interpreted that it only holds if a block is given. Clarify it.Patch by: Lukas Elmer lukas.elmer@gmail.com (@lukaselmer (Lukas Elmer))
Signed-off-by: Akira Matsuda ronnie@dio.jp
closes #1472
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e