[mocha-developer] Changing the value of $?

James Mead jamesmead44 at gmail.com
Wed Jun 20 04:39:41 EDT 2007

On 20/06/07, Kevin Clark <kevin.clark at gmail.com> wrote:
>    $?.stubs(:exitstatus).returns(0)

That's interesting - I didn't think that would work, because $? is normally
nil, but of course it does, because nil is an object in Ruby :-)


More information about the mocha-developer mailing list