class Nokogiri::XML::Node

def <<(node_or_tags)

Also see related method +add_child+.

Returns self, to support chaining of calls (e.g., root << child1 << child2)

+node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
Add +node_or_tags+ as a child of this Node.
##
def <<(node_or_tags)
  add_child node_or_tags
  self
end