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

Simplify calls to register_element #639

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Conversation

brandondrew
Copy link
Contributor

This removes redundancy in calling register_element, since the tag: parameter is almost always unnecessary, as it can be computed based on the method_name.

I'm sorry that I haven't fully tested this change because I wasn't able to get the green dots tests working... filing a bug for that shortly...

This removes redundancy in calling `register_element`, since the
`tag:` parameter is _almost always_ unnecessary, as it can be
computed based on the `method_name`.
@joeldrapper joeldrapper merged commit bb249fe into phlex-ruby:main Jan 30, 2024
7 of 17 checks passed
@joeldrapper
Copy link
Collaborator

The change is already tested because our tests use the list of registered_elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants