All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
By default, this issue is raised when using try! in place of &.. try can be detected, too, if configured in .rubocop.yml.
try!
&.
try
.rubocop.yml
For example, if try is detected too
foo.try!(:bar) foo.try(:bar) { |e| e.baz }
foo&.bar foo&.bar { |e| e.baz }