From: Joel VanderWerf Date: 2009-04-28T02:07:09+09:00 Subject: Re: Block Style Sean O'Halpin wrote: > In your first example, it would appear that you ~are~ concerned with > the return value of the block as you call #whatever on it, so I'd use: > > arr.sort.tap { |sorted| > p sorted > }.whatever� Actually, the return value of #tap is different from the return value of the block (which is ignored by tap, IIRC). That puzzled me for a moment. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407