There's no documentation for this item.
| Public Methods |
| << |
Alias for #text
|
| build |
|
| concat |
Alias for #text
|
| doctype |
|
| head |
Builds a head tag. Adds a meta tag inside with Content-Type set to
text/html; charset=utf-8.
|
| html_tag |
Every HTML tag method goes through an html_tag call. So, calling
div is equivalent to calling html_tag(:div). All HTML
tags in Hpricot’s list are given generated wrappers for this method.
|
| set |
|
| tag! |
Create a tag named tag. Other than the first argument which is the
tag name, the arguments are the same as the tags implemented via
method_missing.
|
| text |
Write a string to the HTML stream without escaping it.
|
| text! |
Write a string to the HTML stream, making sure to escape it.
|
| xhtml_strict |
Builds an html tag with XHTML 1.0 Strict doctype instead.
|
| xhtml_transitional |
Builds an html tag. An XML 1.0 instruction and an XHTML 1.0 Transitional
doctype are prepended. Also assumes :xmlns => "www.w3.org/1999/xhtml", :lang
=> "en".
|
<code/>and<pre/>for code samples.