On Fri, 17 Nov 2006, Joel VanderWerf wrote: > ROFL > > Coming full circle around the golf course... This last one above is what lead > me to prefer #then (== #tap) in the first place: heh. > > def foo > @foo ||= Foo.new.then do |f| > f.bar = "bar" > end > end > > Also, #then avoids the scoping nastiness of #instance_eval. ^^^^^^^^^^^^^^^^^ indeed - good point. -a -- my religion is very simple. my religion is kindness. -- the dalai lama