From: Marc-Andre Lafortune Date: 2011-01-07T04:28:49+09:00 Subject: [ruby-core:34197] [Ruby 1.9-Bug#4245][Rejected] Array index with Range inconsistency Issue #4245 has been updated by Marc-Andre Lafortune. Status changed from Open to Rejected This is per spec. Think of it this way: [5..-1]: give me all elements after the 5th one and up to the last one. There are none, so [] [6..-1]: give me all elements after the 6th one and up to the last one. Say what? There is no 6th one, so returns nil as the given request is out of bounds. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/4245 ---------------------------------------- http://redmine.ruby-lang.org