rubocop / rubocop-performance

An extension of RuboCop focused on code performance checks.
https://docs.rubocop.org/rubocop-performance
MIT License
682 stars 80 forks source link

[Fix #425] Fix a false positive for`Performance/StringIdentifierArgument #430

Closed Earlopain closed 10 months ago

Earlopain commented 10 months ago

As per my findings in https://github.com/rubocop/rubocop-performance/pull/427#issuecomment-1865914939

I updated docs with string interpolation with an explicit example. It's not quite like the initial issue report where the colon came from the variable but it should get the point across.


Before submitting the PR make sure the following are checked:

koic commented 10 months ago

Thanks!