From: Christian Neukirchen Date: 2005-10-27T23:21:45+09:00 Subject: Re: Newbie: Unit testing a private method with arguments Eric Hodel writes: > On Oct 26, 2005, at 12:12 PM, Marcus Lindemann wrote: > >> However, when applying this to method bla, I don't have any idea on >> how to pass any argument to bla. Can someone help me here? > > An easier way to do it is: > > private unless $TESTING Wonderful trick, thanks a lot! > Eric Hodel - drbrain@segment7.net - http://segment7.net -- Christian Neukirchen http://chneukirchen.org