# File lib/xml/dom/core.rb, line 497 def _removeFromTree parent = parentNode if parent parent.removeChild(self) end end