# File lib/nokogiri/xml/node.rb, line 261 def matches? selector document.search(selector).include?(self) end