Christian Neukirchen ha scritto: <snip> > > That's very nice and useful (I often wished for it), but goo already > had it for a long time. :-) It is called "packing" there, see > http://people.csail.mit.edu/jrb/goo/manual.46/goomanual_29.html wow, I always thought GOO was cool, it seem I need to investigate it more deeply :) > I think the implementation with instance_eval can be a bit surprising, > maybe [Dynamic Variables][1] could do that better. yup, instance_eval is an hack, but I liked the idea of just allowing #take inside #gather, which I don't have Idea how to reproduce withouth it. Using DynaVars seem definitely a cool hack, anyway :)