Class: Makiri::HTML::DocumentType

Inherits:
DocumentType show all
Defined in:
ext/makiri/makiri.c

Instance Method Summary collapse

Methods inherited from Node

#add_class, #append_class, #at, #attribute, #attribute?, #attributes, #blank?, #cdata?, #classes, #clone, #comment?, #document?, #document_fragment?, #dup, #each, #element?, #inspect, #path, #processing_instruction?, #remove_class, #root, #search, #set_attribute, #text?, #to_h, #traverse

Instance Method Details

#external_idObject



354
355
356
357
358
# File 'ext/makiri/glue/ruby_html_node.c', line 354

static VALUE
mkr_doctype_public_id(VALUE self)
{
    return mkr_doctype_id(self, 0);
}

#public_idObject

DocumentType identifiers (WHATWG DOM names; external_id is the Nokogiri-compatible alias for public_id).



354
355
356
357
358
# File 'ext/makiri/glue/ruby_html_node.c', line 354

static VALUE
mkr_doctype_public_id(VALUE self)
{
    return mkr_doctype_id(self, 0);
}

#system_idObject



360
361
362
363
364
# File 'ext/makiri/glue/ruby_html_node.c', line 360

static VALUE
mkr_doctype_system_id(VALUE self)
{
    return mkr_doctype_id(self, 1);
}