Module: Nokogiri

Defined in:
lib/nokogumbo/html5.rb,
lib/nokogumbo/html5/node.rb,
lib/nokogumbo/html5/document.rb,
lib/nokogumbo/html5/document_fragment.rb

Defined Under Namespace

Modules: HTML5

Class Method Summary collapse

Class Method Details

.HTML5(string_or_io, url = nil, encoding = nil, **options, &block) ⇒ Object

Parse an HTML 5 document. Convenience method for Nokogiri::HTML5::Document.parse



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

def self.HTML5(string_or_io, url = nil, encoding = nil, **options, &block)
  Nokogiri::HTML5::Document.parse(string_or_io, url, encoding, **options, &block)
end