Skip to content

Add Array#indexes (index_all)#294

Open
TylerRick wants to merge 1 commit intorubyworks:mainfrom
TylerRick:Array#indexes
Open

Add Array#indexes (index_all)#294
TylerRick wants to merge 1 commit intorubyworks:mainfrom
TylerRick:Array#indexes

Conversation

@TylerRick
Copy link
Contributor

Like Array#index/rindex but returns all indexes instead of just the first/last.

This would be useful to have until https://bugs.ruby-lang.org/issues/6596 gets accepted.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant