module Nokogiri
def self.ffi? # :nodoc:
def self.ffi? # :nodoc: uses_libxml? && Nokogiri::VERSION_INFO['libxml']['binding'] == 'ffi' end
def self.is_2_6_16? # :nodoc:
def self.is_2_6_16? # :nodoc: Nokogiri::VERSION_INFO['libxml']['loaded'] <= '2.6.16' end
def self.uses_libxml? # :nodoc:
def self.uses_libxml? # :nodoc: !Nokogiri::VERSION_INFO['libxml'].nil? end
def HTML thing, url = nil, encoding = nil, options = XML::ParseOptions::DEFAULT_HTML, &block
##
def HTML thing, url = nil, encoding = nil, options = XML::ParseOptions::DEFAULT_HTML, &block Nokogiri::HTML::Document.parse(thing, url, encoding, options, &block) end
def Slop(*args, &block)
assert_equal('second', doc.html.body.p[1].text)
eohtml