Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

each_with_index! #1

Open
Wolwer1nE opened this issue Oct 24, 2019 · 0 comments
Open

each_with_index! #1

Wolwer1nE opened this issue Oct 24, 2019 · 0 comments
Labels

Comments

@Wolwer1nE
Copy link
Contributor

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

@RobolabGs2 RobolabGs2 self-assigned this Oct 24, 2019
@RobolabGs2 RobolabGs2 mentioned this issue Oct 27, 2019
6 tasks
@RobolabGs2 RobolabGs2 removed their assignment Nov 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants