Incorrect inclusion call
Reports inclusion calls (
extend) that reference a class. Inclusion calls are only allowed to reference modules or interfaces.
A quick fix is available to remove the incorrect inclusion call.
After the quick fix:
Qodana for Ruby 2023.3, RubyMine 2023.3