Block used instead of method reference
Reports blocks that can be replaced with method references.
In some situations, the substitution may be semantically different. It is recommended to check the code behavior after applying this inspection.
Use the Ignore &method(…) references checkbox to ignore static method replacements.
Inspired by 'Ruby Style Guide'
Ignore &method(…) references
Qodana for Ruby 2023.3, RubyMine 2023.3