Closed seban closed 11 years ago
Actually, this isn't working for me. See: http://stackoverflow.com/questions/15030235/yield-to-a-block-using-rr
Still +1 that documentation needs to be added
Finally got it. I think the documentation should be expanded beyond your snippet, but it's a good start.
Thanks - I'll review this and pull it in.
Hey there - sorry for the late update, new maintainer here. I added a new section to the README titled "Modifying doubles" which documents #yields as well as the other methods which you are allowed to call on doubles. Can you take a look and tell me if this clears things up? Thanks.
Some time ago I had problem with mocking method which yields a block. I will be helpful to see some info in README. It is related to iissue #71