Class: Fortitude::Doctypes::UnknownDoctype
- Defined in:
- lib/fortitude/doctypes/unknown_doctype.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #allows_bare_attributes? ⇒ Boolean
- #default_javascript_tag_attributes ⇒ Object
-
#initialize(declaration = nil) ⇒ UnknownDoctype
constructor
A new instance of UnknownDoctype.
- #needs_cdata_in_javascript_tag? ⇒ Boolean
Methods inherited from Base
#close_void_tags_must_be, #declare!, delegate_tag_stores, #tags, #to_s
Methods included from Tags::TagStore
#delegate_tag_stores, #modify_tag, #tag, #tag_names, #tags, #tags_added!, #tags_changed!
Constructor Details
#initialize(declaration = nil) ⇒ UnknownDoctype
Returns a new instance of UnknownDoctype.
7 8 9 |
# File 'lib/fortitude/doctypes/unknown_doctype.rb', line 7 def initialize(declaration = nil) super(:unknown, declaration) end |
Instance Method Details
#allows_bare_attributes? ⇒ Boolean
19 20 21 |
# File 'lib/fortitude/doctypes/unknown_doctype.rb', line 19 def true end |
#default_javascript_tag_attributes ⇒ Object
11 12 13 |
# File 'lib/fortitude/doctypes/unknown_doctype.rb', line 11 def default_javascript_tag_attributes { } end |
#needs_cdata_in_javascript_tag? ⇒ Boolean
15 16 17 |
# File 'lib/fortitude/doctypes/unknown_doctype.rb', line 15 def needs_cdata_in_javascript_tag? false end |