[rspec-users] How to return a value passed by ref to a method

Remi Gagnon rem.gagnon at gmail.com
Sun Feb 8 07:48:21 EST 2009


I have a recursive method and I want to mock a var passed by ref.

Something like that.

Any idea?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20090208/4e00e9c2/attachment.html>

More information about the rspec-users mailing list