Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (7 sloc) 168 Bytes
require 'nokogiri'
doc = Nokogiri::HTML(open('doc.html'))
selectors.each do |selector|
if doc.search(selector).empty?
@unused_selectors[selector] += 1
end
end
Something went wrong with that request. Please try again.