next_sibling=( other )
Instance Public methods
Sets the next sibling of this child. This can be used to insert a child after some other child.
1 2 3 4 5 | a = Element. new ( "a" ) b = a.add_element( "b" ) c = Element. new ( "c" ) b.next_sibling = c # => <a><b/><c/></a> |
Please login to continue.