Skip to content

Instantly share code, notes, and snippets.

@bdcravens
Created June 23, 2013 00:59
Show Gist options
  • Save bdcravens/5843297 to your computer and use it in GitHub Desktop.
Save bdcravens/5843297 to your computer and use it in GitHub Desktop.
Nokogiri global search
doc.search("[text()*='b']").size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment