# File lib/yard/templates/template_options.rb, line 74
      def embed_mixins_match?(mixin)
        return nil unless mixin.is_a?(CodeObjects::ModuleObject)
        return nil if mixin == object # the method is not inherited
        embed_mixins.any? do |embed_mixin|
          re = /\A#{Regexp.quote(embed_mixin).gsub('\*', '.*')}\Z/
          matchstr = embed_mixin.include?("::") ? mixin.path : mixin.name
          re.match(matchstr.to_s)
        end
      end