Joel VanderWerf: > Kalman Noel wrote: >>> class Object >>> def with >>> yield self >>> self >>> end >>> end > > See also the discussion of #then yesterday on ruby-talk. It's defined > exactly as the #with method above. It seems that this pattern has been quite popular for some time already. It may be desirable for the list to try and agree on a great name for the method. Anyone who implements it calls it differently: Object#then, Object#with, Object#tap, Kernel#returning, Kernel#with, ... Anyone with arguments for or against certain names, or with a better name for the method? It seems to me that it's impossible to invent a useful name for this method with the term »eigen« in it, so a discussion should be possible without too much battle. Kalman