Class: Nokogiri::HTML::Builder

Inherits:
XML::Builder show all
Defined in:
lib/nokogiri/html/builder.rb

Instance Attribute Summary

Attributes inherited from XML::Builder

#doc, #parent

Instance Method Summary collapse

Methods inherited from XML::Builder

#cdata, #initialize, #method_missing, #text, #to_xml

Constructor Details

This class inherits a constructor from Nokogiri::XML::Builder

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Nokogiri::XML::Builder

Instance Method Details

#to_htmlObject



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

def to_html
  @doc.to_html
end