Borges::HtmlElement (Class)

In: lib/Borges/HTML/HtmlElement.rb
Parent: Object

Borges::HtmlElement holds attributes and children elements for building HTML.

Methods

add   new   to_s  

Attributes

name  [RW]  The name of the HTML element

Public Class methods

Create a new HTML element with name, an optional set of attributes, and an empty set of children.

Public Instance methods

Add a child element to this element

Create a String representing this element

[Validate]