Class MaRuKu::Out::HTML::HTMLElement
In: lib/maruku/output/to_html.rb
Parent: Object

A simple class to represent an HTML element for output.

Methods

<<   []   []=   add_class   new   to_html   to_s   to_str  

Constants

SELF_CLOSING = Set.new %w[br hr img link meta]   These elements have no children and should be rendered with a self-closing tag. It‘s not an exhaustive list, but they cover everything we use.

Attributes

attributes  [RW] 
children  [RW] 
name  [RW] 

Public Class methods

Public Instance methods

to_s()

Alias for to_html

to_str()

Alias for to_html

[Validate]