-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
DeletePrefix and DeleteSuffix should detect sub/sub! String methods #115
Labels
Comments
fatkodima
added a commit
to fatkodima/rubocop-performance
that referenced
this issue
May 24, 2020
… String methods
fatkodima
added a commit
to fatkodima/rubocop-performance
that referenced
this issue
May 24, 2020
… String methods
koic
added a commit
that referenced
this issue
May 26, 2020
[Fix #115] DeletePrefix and DeleteSuffix cops detects sub/sub! String methods
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DeletePrefix
andDeleteSuffix
cops currently only detectgsub/gsub!
String methods.Should also detect and correct
sub/sub!
methods (https://ruby-doc.org/core-2.5.0/String.html#method-i-sub).Like:
The text was updated successfully, but these errors were encountered: