# File lib/xml/dom/core.rb, line 372 def []=(index, nodes) @children[index..index] = nodes @children.each do |child| child.parentNode = self end if @children end