Sha256: 55bd6d59505ec106e92f208a91eedc022df5c77607613742e5690960ab069c03

Contents?: true

Size: 170 Bytes

Versions: 2

Compression:

Stored size: 170 Bytes

Contents

module Metamagic
  class MetaTag < Tag
    def to_html
      tag(:meta, name: key, content: Array(value).join(", "))
    end

    def sort_order
      2
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
metamagic-3.0.0 lib/metamagic/tags/meta_tag.rb
metamagic-3.0.0.beta3 lib/metamagic/tags/meta_tag.rb