Nokogiri::HTML::DocumentFragment

class Nokogiri::HTML::DocumentFragment

Parent:
Nokogiri::XML::DocumentFragment

Public Class Methods

new(document, tags = nil, ctx = nil) Show source
# File lib/nokogiri/html/document_fragment.rb, line 15
def initialize document, tags = nil, ctx = nil
  return self unless tags

  if ctx
    preexisting_errors = document.errors.du