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

Remove outdated documentation information from Set.to_a #36

Closed
wants to merge 1 commit into from

Conversation

formigarafa
Copy link

Just removing the note "The order of elements is uncertain." from the documentation.

This information is no longer true since ruby 1.9, when hashes started having its elements iterated in order of their respective insertion.

The methods delete_if and keep if in this same class even go on the length of ensure the subclasses won't break the enumeration order.

This information is no longer true since ruby 1.9, when hashes started having its elements iterated in order of their respective insertion. The methods `delete_if` and `keep if` in this same class even go on the length of ensure the *subclasses won't break the enumeration order*.
@formigarafa formigarafa requested a review from knu as a code owner August 25, 2024 09:08
@hsbt
Copy link
Member

hsbt commented Sep 19, 2024

@hsbt hsbt closed this Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants