Class: Nokogiri::HTML::Document

Inherits:
XML::Document show all
Defined in:
lib/nokogiri/html/document.rb

Constant Summary

Constants inherited from XML::Node

XML::Node::ATTRIBUTE_DECL, XML::Node::CDATA_SECTION_NODE, XML::Node::COMMENT_NODE, XML::Node::DOCB_DOCUMENT_NODE, XML::Node::DOCUMENT_NODE, XML::Node::DTD_NODE, XML::Node::ELEMENT_DECL, XML::Node::ENTITY_DECL, XML::Node::HTML_DOCUMENT_NODE, XML::Node::NAMESPACE_DECL, XML::Node::XINCLUDE_END, XML::Node::XINCLUDE_START

Instance Method Summary collapse

Methods inherited from XML::Document

#decorate, #decorators, #name, #namespaces, #to_xml

Methods inherited from XML::Node

#[], #after, #at, #before, #cdata?, #children, #collect_namespaces, #comment?, #content=, #css, #css_path, #decorate!, #has_attribute?, #html?, #next, #remove, #search, #set_attribute, #text, #traverse, #xml?, #xpath

Instance Method Details

#to_htmlObject



4
5
6
# File 'lib/nokogiri/html/document.rb', line 4

def to_html
  serialize
end