Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include line continuations in whitespace for NestedParenthesizedCalls
Include backslash followed by newline as whitespace when replacing with parentheses in Style/NestedParenthesizedCalls cop. Fix existing spec for: ```ruby puts(nex \ 5) ``` to auto-correct to: ```ruby puts(nex(5)) ``` Originally the spec was written such that the backslash newline gets interpreted when parsing the heredoc as: ```ruby "puts(nex 5)\n" ```
- Loading branch information
Showing
4 changed files
with
23 additions
and
6 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