There's no documentation for this item.
| Classes | |
|---|---|
| DocumentOutput | small utility class for working with the Hpricot parser class |
| Public Methods | |
|---|---|
| assert_ |
|
| element | returns a raw Hpricot::Elem object for the first result found by the query |
| elements | returns an array of Hpricot::Elem objects for the results found by the query |
| get_ |
|
| tag | returns the inner content of the first tag found by the css query |
| tags | returns an array of tag contents for all of the tags found by the css query |
| Protected Methods | |
|---|---|
| process_ |
creates a new DocumentOutput object from the response body if hasn’t already been created. This is called automatically by the element and tag methods |
<code/>and<pre/>for code samples.