class Nokogiri::XML::NodeSet
def to_html(*args)
Experimental RBS support (using type sampling data from the type_fusion
project).
def to_html: (*Array[Hash, encoding, String, save_with, Integer] args) -> String
This signature was generated using 5 samples from 1 application.
##
def to_html(*args) if Nokogiri.jruby? options = args.first.is_a?(Hash) ? args.shift : {} options[:save_with] ||= Node::SaveOptions::DEFAULT_HTML args.insert(0, options) end if empty? encoding = (args.first.is_a?(Hash) ? args.first[:encoding] : nil) encoding ||= document.encoding encoding.nil? ? "" : "".encode(encoding) else map { |x| x.to_html(*args) }.join end end