Class: Rxhp::Html::Html

Inherits:
Rxhp::HtmlSelfClosingElement show all
Defined in:
lib/rxhp/tags/html_tag.rb

Overview

Special-case for the <html> tag.

This handles doctype rendering.

Instance Attribute Summary

Attributes inherited from Element

#attributes, #children

Instance Method Summary collapse

Methods inherited from Rxhp::HtmlElement

#render, #render_children, #validate!

Methods included from AttributeValidator

match?, #valid_attributes?, #validate_attributes!

Methods inherited from Element

#children?, #fill_options, #initialize, #render, #render_children, #render_string, #valid?, #validate!

Methods included from Scope

current, define_element, with_parent

Constructor Details

This class inherits a constructor from Rxhp::Element

Instance Method Details

#tag_nameObject


10
# File 'lib/rxhp/tags/html_tag.rb', line 10

def tag_name; 'html'; end