class Nokogiri::VersionInfo

def libxml2?

def libxml2?
  defined?(Nokogiri::LIBXML_COMPILED_VERSION)
end