Sha256: b18c6abd4ec3f3701218c44c4d5a663cd9a47e211a9ab1f53a5e431723edcd26

Contents?: true

Size: 112 Bytes

Versions: 3

Compression:

Stored size: 112 Bytes

Contents

module Metamagic
  class LinkTag < Tag
    def to_html
      tag(:link, rel: key, href: value)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
metamagic-3.1.0 lib/metamagic/tags/link_tag.rb
metamagic-3.0.3 lib/metamagic/tags/link_tag.rb
metamagic-3.0.2 lib/metamagic/tags/link_tag.rb