From: "drbrain (Eric Hodel)" Date: 2012-07-04T08:35:38+09:00 Subject: [ruby-core:46154] [ruby-trunk - Bug #6680] Unclear rdoc for Array and String slicing Issue #6680 has been updated by drbrain (Eric Hodel). I chose to indicate that the start offset is an index instead of your text, but I kept your examples since the behavior isn't documented. ---------------------------------------- Bug #6680: Unclear rdoc for Array and String slicing https://bugs.ruby-lang.org/issues/6680#change-27774 Author: stomar (Marcus Stollsteimer) Status: Closed Priority: Normal Assignee: drbrain (Eric Hodel) Category: DOC Target version: 2.0.0 ruby -v: ruby 1.9.3p243 (2012-06-28 revision 36244) [i686-linux] =begin Slicing of arrays and strings specifying start/length or using a range is not documented well, and often leads to confusion, see for example or The attached patch tries to clarify the documentation. =end -- http://bugs.ruby-lang.org/