tenderlove/mechanize — pull request #156 by OhaiBBQ (2011-10-08 03:40:44+00:00)
Title: Add dom_class method to elements

Hi,
I was using mechanize and I was trying to find all links on a page with a certain class. This didn't work because sending :class to the object returns the object's class, not the node's class. This patch aliases :class criteria to :dom_class. Tests and code attached