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

Fix example code in Array#max doc #4475

Merged
merged 1 commit into from May 8, 2021

Conversation

pocke
Copy link
Member

@pocke pocke commented May 8, 2021

[0, 1, 2, 3].max(6) actually returns [3, 2, 1, 0], but the doc said
it returns [3, 2, 1].

`[0, 1, 2, 3].max(6)` actually returns `[3, 2, 1, 0]`, but the doc said
it returns `[3, 2, 1]`.
@marcandre marcandre merged commit e3e5596 into ruby:master May 8, 2021
@marcandre
Copy link
Member

Thanks 👍

@pocke pocke deleted the Fix_example_code_in_Array_max_doc branch May 8, 2021 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants