Module: Nokogiri

Defined in:
lib/nokogumbo.rb

Defined Under Namespace

Modules: HTML5

Class Method Summary collapse

Class Method Details

.HTML5(string) ⇒ Object

Parse an HTML document. string contains the document. string may also be an IO-like object. Returns a Nokogiri::HTML::Document.


7
8
9
# File 'lib/nokogumbo.rb', line 7

def self.HTML5(string)
  Nokogiri::HTML5.parse(string)
end