Method: Nokogiri::XML::Node#unlink
- Defined in:
- ext/nokogiri/xml_node.c
#unlink ⇒ Object Also known as: remove
:call-seq:
unlink() → self
Unlink this node from its current context.
997 998 999 1000 1001 1002 1003 1004 1005 |
# File 'ext/nokogiri/xml_node.c', line 997
static VALUE
unlink_node(VALUE self)
{
xmlNodePtr node;
Noko_Node_Get_Struct(self, xmlNode, node);
xmlUnlinkNode(node);
noko_xml_document_pin_node(node);
return self;
}
|