From: "kosaki (Motohiro KOSAKI)" Date: 2013-11-24T02:11:43+09:00 Subject: [ruby-core:58535] [ruby-trunk - Feature #9140][Rejected] Allow each_with_index to get start index Issue #9140 has been updated by kosaki (Motohiro KOSAKI). Status changed from Open to Rejected ---------------------------------------- Feature #9140: Allow each_with_index to get start index https://bugs.ruby-lang.org/issues/9140#change-43117 Author: rosenfeld (Rodrigo Rosenfeld Rosas) Status: Rejected Priority: Normal Assignee: matz (Yukihiro Matsumoto) Category: lib Target version: Is it possible for array.each_with_index(1){|el, i| ... } to be equivalent to array.each.with_index(1){...}? Sometimes the application-domain index starts with 1, not 0. Currently each_with_index doesn't accept any arguments, so it wouldn't be backward incompatible if the start index defaults to 0. -- http://bugs.ruby-lang.org/