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

Refine an example for "Space in Method Calls" rule #814

Merged

Commits on Apr 26, 2020

  1. Refine an example for "Space in Method Calls" rule

    Follow up of rubocop/rubocop#7909.
    
    This PR refines an example for "Space in Method Calls" rule.
    
    The example code is not compatible.
    
    ```ruby
    def f(num)
      num * 2
    end
    
    p f (3 + 2) + 1 #=> 12
    p f(3 + 2) + 1  #=> 11
    ```
    
    This PR replaces an example code.
    koic committed Apr 26, 2020
    Configuration menu
    Copy the full SHA
    1203b7a View commit details
    Browse the repository at this point in the history