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

[new cop] Concatenation of string literals #759

Closed
jonas054 opened this issue Jan 24, 2014 · 0 comments
Closed

[new cop] Concatenation of string literals #759

jonas054 opened this issue Jan 24, 2014 · 0 comments

Comments

@jonas054
Copy link
Collaborator

As @bbatsov mentioned in https://github.com/bbatsov/rubocop/pull/756/files#r9148168, a new cop could say that concatenation with backslash \ is better than with plus + since the latter adds a method call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant