class Nokogiri::XML::NodeSet

def first

Get the first element of the NodeSet.
##
def first
  self[0]
end