From: Michael Campbell Date: 2003-06-07T05:54:33+09:00 Subject: Re: [RCR] join block > Somehow, I would expect Array#join to pass two args to the block, > like this: > > [1,2,3].join {|x,y| x < y ? " < " : " >= " } > > # ==> "1 < 2 < 3" You lost me here. When iterating through the elements, what are x and y; the current element in the array an the "next" one? What value does "y" get then on the last element? I'd think even then, you'd get: "1 < 22 < 33" # no? __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com