On Mon, Apr 13, 2009 at 4:19 AM, Brandon Olivares
wrote:
> Hi,
>
> I've noticed in several matchers that the matcher method passes self to the
> constructor of the class. Then that's used to call several of the methods
> used. For instance, in RouteFor, self is passed, and it is used to call
> ass
Hi,
I've noticed in several matchers that the matcher method passes self to the
constructor of the class. Then that's used to call several of the methods
used. For instance, in RouteFor, self is passed, and it is used to call
assert_recognizes.
I'm just curious why this is, and when this is requi