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