class Nokogiri::XML::NodeSet

A NodeSet is an Enumerable that contains a list of Nokogiri::XML::Node objects.

Typically a NodeSet is returned as a result of searching a Document via Nokogiri::XML::Searchable#css or Nokogiri::XML::Searchable#xpath.

Note that the ‘#dup` and `#clone` methods perform shallow copies; these methods do not copy the Nodes contained in the NodeSet (similar to how Array and other Enumerable classes work).