In article <87wubws1b2.fsf / alieniloquent.com>, Samuel Tesla <samuel / alieniloquent.com> wrote: >Chad Fowler <chad / chadfowler.com> writes: > >> If not for this feature, I might not have ended up staying with Ruby when >> I started learning it several years ago. It's a unifying part of the >> whole dynamic feeling and philosophy of the language. Ruby without this >> feature would cease to be Ruby to me. > >I agree completely on this topic. I just can't express how big a >selling point this feature was to me. It has made writing unit tests >a *dream* I can override functions in modules like PAM so that they >can run in automated tests. > This is an interesting idea, can you provide some more details? Do you mean that you're stubbing some methods which might not work in your testing environment/context? Phil