Skip to content

each_with_index! #1

@Wolwer1nE

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

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