html(attributes = {})
Instance Public methods
Generate a top-level HTML element as a string.
The attributes of the element are specified as a hash. The
pseudo-attribute âPRETTYâ can be used to specify that the generated HTML
string should be indented. âPRETTYâ can also be specified as a string as
the sole argument to this method. The pseudo-attribute âDOCTYPEâ, if
given, is used as the leading DOCTYPE SGML tag; it should include the
entire text of this tag, including angle brack