All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
tr
delete
gsub
tr/delete are more efficient than gsub.
'abc'.gsub('b', 'd') 'abc'.gsub('a', '')
'abc'.tr('b', 'd') 'abc'.delete('a')