def inherit_definition(definition, inherit)
      unless definition.parents.include?(inherit)
        definition.parents << inherit
      end
    end
def inherit_definition(definition, inherit)
      unless definition.parents.include?(inherit)
        definition.parents << inherit
      end
    end
Includes the definition `inherit` in the list of parent definitions of
 `definition`.

 @param [RubyLint::Definition::RubyObject] definition
 @param [RubyLint::Definition::RubyObject] inherit