From: Yukihiro Matsumoto Date: 2007-09-18T01:20:28+09:00 Subject: Re: group array elements in groups of two Hi, In message "Re: group array elements in groups of two" on Tue, 18 Sep 2007 01:10:10 +0900, William James writes: |Nirvana at last! I won a round of golf with |Matz! | |YM: .to_enum(:each_slice, 2).to_a |WJ: .enum_slice(2).to_a Well done, but your version does not work on 1.8. ;-) matz.