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
-
.HTML5(string_or_io, url = nil, encoding = nil, **options, &block) ⇒ Object
Parse an HTML 5 document.
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, **, &block) Nokogiri::HTML5::Document.parse(string_or_io, url, encoding, **, &block) end |