• Connor Shea's avatar
    Enable the StringReplacement cop. · 4995302d
    Connor Shea authored
    Also fix one use of `gsub` that would be faster as `delete`.
    
    Use `tr` instead of `gsub` when you are replacing the same number of
    characters. Use `delete` instead of `gsub` when you are deleting
    characters.
    4995302d
parser.rb 2.21 KB