Skip to content

Fix compatibility with RDoc >= 6.10.0 #374

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 1 commit into from
Jan 16, 2025

Conversation

jonathanhefner
Copy link
Member

ruby/rdoc@4a5206a added a kwarg to RDoc::Markup::ToHtmlCrossref#cross_reference which must be forwarded.

This commit adds a double-splat (**) to the cross_reference monkey patch in order to forward that kwarg. It also adds a splat (*) in case more positional args with default values are added in the future.

ruby/rdoc@4a5206a added a kwarg to
`RDoc::Markup::ToHtmlCrossref#cross_reference` which must be forwarded.

This commit adds a double-splat (`**`) to the `cross_reference` monkey
patch in order to forward that kwarg.  It also adds a splat (`*`) in
case more positional args with default values are added in the future.
@jonathanhefner jonathanhefner merged commit 805531f into rails:main Jan 16, 2025
4 checks passed
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.

1 participant