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::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, #to_xml

Methods inherited from XML::Node

#[], #after, #at, #before, #children, #comment?, #content=, #css_path, #decorate!, #find, #find_by_css, #find_by_xpath, #has_attribute?, #html?, #inner_text, #next, #remove_attribute, #set_attribute, #xml?, #xpath

Instance Method Details

#to_htmlObject



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

def to_html
  serialize
end