Sha256: 665915b4734349cdc4e7001d348b5182f5e0da41c4a96a0500ecddd8705516d9

Contents?: true

Size: 298 Bytes

Versions: 5

Compression:

Stored size: 298 Bytes

Contents

# frozen_string_literal: true

module PageMeta
  class MetaTag
    class DnsPrefetchControl < MetaTag
      def render
        helpers.tag(:meta, "http-equiv" => "x-dns-prefetch-control", content: "on") +
          helpers.tag(:link, rel: "dns-prefetch", href: content)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
page_meta-1.1.0 lib/page_meta/meta_tag/dns_prefetch_control.rb
page_meta-1.0.0 lib/page_meta/meta_tag/dns_prefetch_control.rb
page_meta-0.2.0 lib/page_meta/meta_tag/dns_prefetch_control.rb
page_meta-0.1.3 lib/page_meta/meta_tag/dns_prefetch_control.rb
page_meta-0.1.2 lib/page_meta/meta_tag/dns_prefetch_control.rb