A node that represents text, rather than markup.
| Public Attributes | |
|---|---|
| content | |
| Public Methods | |
|---|---|
| == | |
| find | Returns self if this node meets the given conditions. Text nodes support conditions of the following kinds: |
| match | Returns non-nil if this node meets the given conditions, or nil otherwise. See the discussion of #find for the valid conditions. |
| new | Creates a new text node as a child of the given parent, with the given content. |
| to_ |
Returns the content of this node. |
<code/>and<pre/>for code samples.