title: nokogiri excluded elements from select all by class
body: <p>I'm just trying to exclude a couple of child elements by class from a selection of all the children of a node</p>
  
  <pre><code>page.css('div.parent &gt; *').each do |child|
    if (child["class"].content != 'this' &amp;&amp; child["class"].content != 'that')
      array.push(child.text.to_s)
    end
  end 
  </code></pre>
  
  <p>I know this not the write syntax, but have been unable to find how to select an elements class, as opposed to selects and element <em>by</em> class. </p>