module Node
Represents a node in the tree. Nodes are never encountered except as superclasses of other objects. Nodes have siblings.
Methods
indent
next_sibling_node
previous_sibling_node
to_s
write_with_substitution
Methods
indent
Arguments
to
ind
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)
to_s
Arguments
indent
<0>
write_with_substitution
Arguments
out
A String, IO, or any other object supporting <<( String )
input
the text to substitute and the write out
Writes out text, substituting special characters beforehand.