Sha256: 9bab3649c5d41048bab6f0bf6b937d7f08aa554ff4eabdd986283128bf9e3eb7

Contents?: true

Size: 151 Bytes

Versions: 3

Compression:

Stored size: 151 Bytes

Contents

module Metamagic
  class TitleTag < Tag
    def to_html
      content_tag(:title, value) if value
    end

    def sort_order
      1
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
metamagic-3.0.3 lib/metamagic/tags/title_tag.rb
metamagic-3.0.2 lib/metamagic/tags/title_tag.rb
metamagic-3.0.1 lib/metamagic/tags/title_tag.rb