Skip to content

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

Merged
ksss merged 3 commits intoruby:masterfrom
ksss:range
Jun 23, 2025
Merged

Add documentation for Range#{minmax,count,to_a,entries}#2562
ksss merged 3 commits intoruby:masterfrom
ksss:range

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