From: Martin DeMello Date: 2006-11-17T20:49:01+09:00 Subject: Re: #returning and #tap On 11/17/06, spooq wrote: > Actually, how about giving the proc a copy of the object, rather than > the real deal? > > class Object > def tap > yield self.dup > self > end > end Thought of that, but not everything responds to dup (nil and symbols, e.g.) m.