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 #12601] Make Style/EachForSimpleLoop accept block with no parameters #12609

Commits on Jan 11, 2024

  1. [Fix rubocop#12601] Make Style/EachForSimpleLoop accept block with …

    …no parameters
    
    Fixes rubocop#12601.
    
    This PR makes `Style/EachForSimpleLoop` accept block with no parameters.
    
    This is the behavior according to the documentation:
    
    > This check only applies if the block takes no parameters.
    
    https://docs.rubocop.org/rubocop/1.59/cops_style.html#styleeachforsimpleloop
    koic committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    794bf7d View commit details
    Browse the repository at this point in the history