module Node


Represents a node in the tree. Nodes are never encountered except as superclasses of other objects. Nodes have siblings.

Methods


Methods

indent


next_sibling_node

Returns the next sibling (nil if unset)
@return the next sibling (nil if unset)

previous_sibling_node

Returns the previous sibling (nil if unset)
@return the previous sibling (nil if unset)

read_with_substitution


Reads text, substituting entities

to_s


write_with_substitution


Writes out text, substituting special characters beforehand.