From: Robert Dober Date: 2006-08-03T18:21:44+09:00 Subject: Re: Array#size empties the Array?? ------=_Part_85032_10420238.1154596893750 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 8/3/06, Sven Suska wrote: > > Sorry, I had forgotten to give enough information: > > > 1. rks is a local variable! > > The statement sequence is actually: > > rks =3D vt.rks > p [:rks_length, rks.length] > p [:rks_size, rks.size] > ... > > And this is inside a Test::Unit class, where I have not defined a > rks=3D writer method. > > > 2. Versions > > Ruby version is 1.8.4 on WindowsXP (one-click-installer). > ActiveRecord 1.14.1 > Apollo 0.841a_vcl60 > > > Regards > > Sven > > -- > Posted via http://www.ruby-forum.com/. > > Sven try not to replace the code, which is equivalent, and run your test twice with the same code. Cheers Robert --=20 Deux choses sont infinies : l'univers et la b=EAtise humaine ; en ce qui concerne l'univers, je n'en ai pas acquis la certitude absolue. - Albert Einstein ------=_Part_85032_10420238.1154596893750--