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

Refactor assertions: Move node patterns into subclasses #1794

Closed
wants to merge 2 commits into from

Conversation

bquorning
Copy link
Collaborator

This way we can remove the metaprogramming of def_node_matcher and public_send, making the cop simpler.


Before submitting the PR make sure the following are checked:

  • Feature branch is up-to-date with master (if not - rebase it).
  • Squashed related commits together.
  • Added tests.
  • Updated documentation.
  • Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
  • The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

This way we can remove the metaprogramming of `def_node_matcher` and
`public_send`, making the cop simpler.
@pirj
Copy link
Member

pirj commented Feb 1, 2024

Does this still apply?

@bquorning bquorning closed this Feb 1, 2024
@bquorning bquorning deleted the refactor-assertions branch February 1, 2024 07:32
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