From: James Cunningham Date: 2006-11-28T14:15:08+09:00 Subject: Re: ruby and list comprehension On 2006-11-27 23:39:57 -0500, "Phrogz" said: > class Array > def comprehend( &block ) > block ? map( &block ).compact : self > end > end The same. You're just cleverer than I am. ;) Best, James