title: How to delete a Node from a Nokogiri Nodeset?
body: <p>I have a nodeset in the variable <code>my_nodeset</code></p>
  
  <p>I'd like to remove the last node that was found. </p>
  
  <p>Initially i expected this to work: <code>my_nodeset.last.remove</code> but it does not.</p>
  
  <p>The only way I've found to remove the last item is with something like this:
  <code>my_nodeset.delete(my_nodeset.last)</code></p>
  
  <p>Seems strange to me and i was wondering if there's a "correct" way to do it.  Thanks!</p>