class Nokogiri::XML::DocumentFragment
def new(document, ...) # :nodoc:
- the initializer's parameters
- the native object allocator's parameter (it only requires `document`)
Wrapper method to separate the concerns of:
def new(document, ...) # :nodoc: instance = native_new(document) instance.send(:initialize, document, ...) instance end