Actions
Feature #9140
closedAllow each_with_index to get start index
Description
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.
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0