class Nokogiri::XML::Node
def swap(node_or_tags)
Returns self, to support chaining of calls.
+node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
Swap this Node for +node_or_tags+
###
def swap(node_or_tags) replace node_or_tags self end