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

Extract basic :call-seq: params for search results #353

Merged

Conversation

jonathanhefner
Copy link
Member

Prior to this commit, search results displayed (...) as the parameter list for any :call-seq: method. The reason being the :call-seq: value may contain method overloads (i.e. multiple parameter lists) or even arbitrary text. However, it is common for the :call-seq: value to be basic method signature with a single parameter list. Therefore, this commit handles that case and otherwise falls back to (...).

Before After
before after

Prior to this commit, search results displayed `(...)` as the parameter
list for any `:call-seq:` method.  The reason being the `:call-seq:`
value may contain method overloads (i.e. multiple parameter lists) or
even arbitrary text.  However, it is common for the `:call-seq:` value
to be basic method signature with a single parameter list.  Therefore,
this commit handles that case and otherwise falls back to `(...)`.
@jonathanhefner jonathanhefner changed the title Extract basic :call-seq: params for search index Extract basic :call-seq: params for search results Dec 24, 2023
@jonathanhefner jonathanhefner merged commit 08b4252 into rails:main Dec 24, 2023
9 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