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 required.

Brandon

_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to