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

[DOC] Add 'In brief' for Array#[] #10190

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Conversation

BurdetteLamar
Copy link
Member

The added 'In brief' section (near the very beginning) shows examples of the simplest and commonest uses of method Array[]. The idea is to answer as many user questions as possible in the least possible space: a sort of micro-reference for the method.

The already-existing and extensive discussion that follows gives details and further examples, for those who want/need that.

@BurdetteLamar BurdetteLamar added the Documentation Improvements to documentation. label Mar 6, 2024
@peterzhu2118 peterzhu2118 merged commit cc757f4 into ruby:master Mar 6, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improvements to documentation.
2 participants