Issue #6445 has been updated by yhara (Yutaka HARA).

Target version changed from Next Major to next minor


----------------------------------------
Feature #6445: request for default length/position on string index
https://bugs.ruby-lang.org/issues/6445#change-31527

Author: botp (bot pena)
Status: Assigned
Priority: Normal
Assignee: matz (Yukihiro Matsumoto)
Category: 
Target version: next minor


would be nice if ruby has default for "rest or up to end of string"

eg

"hello"[2,] =>	should default to "hello"[2..-1]
or 
"hello"[2..] => should default to "hello"[2..-1]



-- 
http://bugs.ruby-lang.org/