From: Jim Freeze Date: 2003-03-29T07:56:26+09:00 Subject: Re: Need #collect! on partial array On Saturday, 29 March 2003 at 6:53:34 +0900, dblack@superlink.net wrote: > Hi -- > > Citizens for MWI [map_with_index] welcomes you to its ranks :-) But I > think it's been rejected. Well, it's nice to finally find a group that welcomes me. :) It's just my luck that the group has been disbanded even before I was invited to be a member. > > Is there another way to achieve this same affect? > > You could do some variant of: > > (0...a.size).each {|i| } I will probably end up with this construct. -- Jim Freeze ---------- "I refuse to have a battle of wits with an unarmed person."