Skip to content

each_with_index! #1

Description

@Wolwer1nE

def each_with_index!

each with bang ! is not common parctice in ruby, since each usually returns original unchanged object. Maybe this method should be split into chain of map.with_index

https://stackoverflow.com/questions/4697557/how-to-map-with-index-in-ruby

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions