# File lib/xml/dom2/node.rb, line 441 def appendChild(newChild) @children = NodeList.new if !@children _insertNodes(-1, newChild) end