Ruby REXML::Child Functions
EditRocket provides the following information on REXML::Child functions in the Ruby source code builder.
bytes() - This doesn't yet handle encodings
document() - the document this child belongs to, or nil if this child
new( parent = nil ) - Constructor. Any inheritors of this class should call super to make sure this method is called.
next_sibling=( other ) - Sets the next sibling of this child. This can be used to insert a child after some other child.
parent=( other ) - Sets the parent of this child to the supplied argument.
previous_sibling=(other) - Sets the previous sibling of this child. This can be used to insert a child before some other child.
remove() - Removes this child from the parent.
replace_with( child ) - Replaces this object with another object. Basically, calls Parent.replace_child