Sha256: 9fc9b39b3aa7f433a33765c1b0985b61734687fc8d937b4ac6d14b4b2fb98c7a

Contents?: true

Size: 369 Bytes

Versions: 10

Compression:

Stored size: 369 Bytes

Contents

require 'fortitude/doctypes'
require 'fortitude/doctypes/base'

module Fortitude
  module Doctypes
    class UnknownDoctype < Base
      def initialize(declaration = nil)
        super(:unknown, declaration)
      end

      def default_javascript_tag_attributes
        { }
      end

      def needs_cdata_in_javascript_tag?
        false
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fortitude-0.0.7-java lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.0.7 lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.0.6-java lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.0.6 lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.0.5-java lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.0.5 lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.0.4-java lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.0.4 lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.0.3 lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.0.2 lib/fortitude/doctypes/unknown_doctype.rb