Joel VanderWerf wrote:
> This variant saves typing and IMO is more idiomatically ruby:
> 
> class Object
>   def then
>     yield(self)
>     self
>   end
> end

Oops, sorry. I didn't realize that #tap is the same as #then.

I can't quite see why "tap" is a good name for that, though...

-- 
       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407