# File lib/html5/treebuilders/hpricot.rb, line 36 def removeChild(node) childNodes.delete(node) hpricot.children.delete_at(hpricot.children.index(node.hpricot)) node.hpricot.parent = nil node.parent = nil end