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 SingleLineRbiClassModuleDefinitions #147

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

sambostock
Copy link
Contributor

This makes the following changes:

  • Migrates from deprecated Cop parent class to Base
  • Inlines process_node helper method
  • Uses alias_method to consolidate on_module and on_class
  • Renames the convert_newlines helper to explain the conversion
  • Simplifies the tests using expect_correction helper

This makes the following changes:

- Migrates from deprecated `Cop` parent class to `Base`
- Inlines `process_node` helper method
- Uses `alias_method` to consolidate `on_module` and `on_class`
- Renames the `convert_newlines` helper to explain the conversion
- Simplifies the tests using `expect_correction` helper
@sambostock sambostock requested a review from paracycle February 21, 2023 15:09
@sambostock sambostock requested a review from a team as a code owner February 21, 2023 15:09
@sambostock sambostock merged commit 2de1ce3 into main Feb 21, 2023
@sambostock sambostock deleted the refactor-single-line-class-module-definitions branch February 21, 2023 15:17
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