2009/12/1 Raul Parolari <raulparolari / gmail.com>: > Hmm.. the difference is: > a) in 1.8 the splat operator could only be applied to the last > left-value > b) in 1.9 the splat operator can appear at any position in the list of > left-values > > But the concept of the operation has remained identical: all extra > rvalues are placed into an array > > Similarly, 1.9 adds more flexibility when the splat is done on an rvalue > (multiple splats). But the concept is still the same (in this case, as > Matz/Flanagan's book says "the array elements replace the array in the > original rvalue"). That's the reason that I think the behavior of > ¨Â ªÛ ½¾ > is a bug; else, it would go against the definition just given (just > because the array has 1 element). Just my opinion, of course. If you believe you have found a bug, please file it so it can be taken caref. http://redmine.ruby-lang.org/ > In any case, thanks again for the elegant solution to my code generation You're welcome! Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/