Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 9 lines (7 sloc) 0.168 kb
86d7335 @miketierney Working out a nokogiri idea
authored
1 require 'nokogiri'
2
3 doc = Nokogiri::HTML(open('doc.html'))
4
5 selectors.each do |selector|
6 if doc.search(selector).empty?
7 @unused_selectors[selector] += 1
8 end
9 end
Something went wrong with that request. Please try again.