From: "Jack R." Date: 2013-03-05T16:36:47+09:00 Subject: Re: Inconsistent Array#slice behavior? You're right, I missed the subtlety that 0 is "at the end" of an empty array. But wouldn't -1 be "at the end" of an empty array also (since it is defined as being "the last element of the array")? And while the documentation may be technically accurate, it certainly falls short of being "clear", since one would have to guess that 0 is "at the end" of an empty string. Least surprise, anyone? -- Posted via http://www.ruby-forum.com/.