8000 Add documentation for `Range#{minmax,count,to_a,entries}` by ksss · Pull Request #2562 · ruby/rbs · GitHub
[go: up one dir, main page]

Skip to content

Add documentation for Range#{minmax,count,to_a,entries} #2562

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

Merged
merged 3 commits into from
Jun 23, 2025
Merged

Conversation

ksss
Copy link
Collaborator
@ksss ksss commented Jun 22, 2025

I added several methods that were documented in RDoc but did not exist in the RBS.
With this change, it becomes easier to reference method documentation in tools like LSP.
Additionally, Range#count takes into account the case where it returns infinity.

@ksss ksss added this to the RBS 4.0 milestone Jun 22, 2025
Copy link
Member
@soutaro soutaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ksss ksss added this pull request to the merge queue Jun 23, 2025
Merged via the queue into ruby:master with commit b0c70bb Jun 23, 2025
21 checks passed
@ksss ksss deleted the range branch June 23, 2025 08:55
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.

2 participants
0