- Closes #36.
…t occur in the proc.
…indeed defined - Closes #30.
…rs cannot be supported on ruby 1.8. - Closes #33.
…d can work outside of it.
Previously, #chain used #define_method on the class to define an instance method on all instances. We want it to define the method on only this instance, so we need to delegate to the singleton class instead (which the recently added #define_method does for us!). - Closes #38.
This allows you to define helper methods in a matcher using #define_method to gain access to the parameters. - Closes #29.