Class: HTML::EmptyTag
Overview
This represents an HTML tag that never has an end tag.
Instance Method Summary collapse
Methods inherited from Tag
add_tag, #can_ignore_whitespace, #can_omit_end_tag, #initialize, #is_block_element, #name, named
Constructor Details
This class inherits a constructor from HTML::Tag
Instance Method Details
#can_contain(tag, parent) ⇒ Object
87 |
# File 'lib/web/htmltools/tags.rb', line 87 def can_contain(tag, parent); false; end |
#is_empty_element ⇒ Object
85 |
# File 'lib/web/htmltools/tags.rb', line 85 def is_empty_element; true; end |
#is_inline_element ⇒ Object
86 |
# File 'lib/web/htmltools/tags.rb', line 86 def is_inline_element; true; end |