properly use Rubocop inherit_from