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

Add AllowParenthesesInCamelCaseMethod option #6643

Merged
merged 1 commit into from Jan 22, 2019

Commits on Jan 22, 2019

  1. Add AllowParenthesesInCamelCaseMethod option

    This option on the Style/MethodCallWithArgsParentheses cop takes effect
    when EnforcedStyle:omit_parentheses. If true, CamelCase methods (with
    names beginning with a capital letter) may be called with parentheses
    even when taking arguments. Even though this case isn't syntactically
    ambiguous, it is sometimes preferred in order to make it more obvious
    that a method is being called rather than a constant referenced.
    dazuma committed Jan 22, 2019
    Copy the full SHA
    eaab0f8 View commit details
    Browse the repository at this point in the history