# File lib/nokogiri/hpricot.rb, line 13 def parse(*args) 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(), or be prepared\nto install the compatibility layer.\n\#{caller.first}\n" doc = Nokogiri.parse(*args) add_decorators(doc) end