class Nokogiri::HTML5::Document
def read_memory(string, url_ = nil, encoding_ = nil, url: url_, encoding: encoding_, **options)
Create a new document from a String.
def read_memory(string, url_ = nil, encoding_ = nil, url: url_, encoding: encoding_, **options) raise ArgumentError, "string object doesn't respond to :to_str" unless string.respond_to?(:to_str) do_parse(string, url, encoding, **options) end