8000 Introduce Array#values by MatheusRich · Pull Request #14641 · ruby/ruby · GitHub
[go: up one dir, main page]

Skip to content

Conversation

MatheusRich
Copy link
Contributor
@MatheusRich MatheusRich commented Sep 23, 2025

Returns a new array with a shallow copy of the elements of self.
It can be useful when building APIs that receive both arrays and hashes.

@MatheusRich MatheusRich force-pushed the array-values branch 2 times, most recently from 12291e0 to 7260280 Compare September 24, 2025 03:15
@MatheusRich MatheusRich marked this pull request as ready for review September 24, 2025 14:14
Returns a new array with a shallow copy of the elements of self.
It can be useful when building APIs that receive both arrays and hashes.
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

0