# File lib/nokogiri/hpricot.rb, line 52 def make string warn "Nokogiri::Hpricot.parse is deprecated and will be extracted to it's own gem\nwhen Nokogiri 1.4.0 is released. Please switch to Nokogiri::HTML.make(), or be\nprepared to install the compatibility layer.\n\#{caller.first}\n" doc = XML::Document.new ns = XML::NodeSet.new(doc) ns << XML::Text.new(string, doc) ns end