lib/navigator/menu.rb
def add name, content = nil, attributes: {}, activator: menu_activator, &block
      tag = Navigator::Tag.new name, content, attributes: attributes, activator: activator
      return items << tag.render unless block_given?

      items << tag.prefix
      items << tag.content
      instance_eval(&block)
      items << tag.suffix
    end
def add name, content = nil, attributes: {}, activator: menu_activator, &block
      tag = Navigator::Tag.new name, content, attributes: attributes, activator: activator
      return items << tag.render unless block_given?

      items << tag.prefix
      items << tag.content
      instance_eval(&block)
      items << tag.suffix
    end
rubocop:enable Metrics/LineLength