Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
4 changed files
with
86 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters