From a98f50b63b767c681f8e20b9d5af82426d4391ca Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Thu, 26 Jun 2014 09:37:30 +0200 Subject: [PATCH] NodeSet#push should not take node ownership. --- lib/oga/xml/node_set.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/oga/xml/node_set.rb b/lib/oga/xml/node_set.rb index db8779d..40e1465 100644 --- a/lib/oga/xml/node_set.rb +++ b/lib/oga/xml/node_set.rb @@ -26,8 +26,6 @@ module Oga end def push(node) - node.node_set = self - @nodes << node end