From: Sean O'Halpin Date: 2009-04-28T08:08:44+09:00 Subject: Re: Block Style On Mon, Apr 27, 2009 at 6:07 PM, Joel VanderWerf wrote: > 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 > You're right - sloppy wording on my part. But you were only puzzled for a moment, right? ;)