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

[Fix #8663] Fix issues with Style/ClassMethodsDefinitions #8687

Merged
merged 2 commits into from Sep 15, 2020

Commits on Sep 11, 2020

  1. [Fix rubocop#8663] Fix issues with Style/ClassMethodsDefinitions

    Autocorrection was rewritten, which notably moves the offense for def_self style to the sclass itself, in order to properly handle each method within it without getting clobbering errors.
    
    Autocorrection fixes:
    * Handle multiple methods within class << self
    * Remove extra whitespace
    * Fix indentation
    * Remove self << class if empty
    dvandersluis committed Sep 11, 2020
    Copy the full SHA
    122e04c View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2020

  1. Copy the full SHA
    2d625d9 View commit details
    Browse the repository at this point in the history