nokogiri_bang_finders
Suppose you’re using Nokogiri to parse some HTML or XML, and an element you need is missing. What should happen? If you said “An exception”, try my tiny new gem, nokogiri_bang_finders. It simply adds lookup methods to Nokogiri that raise if nothing is found: at!, at_xpath!, and at_css!
Post a comment