From: dblack@... Date: 2007-02-16T21:08:00+09:00 Subject: Re: is it behaving strange ? Hi -- On Fri, 16 Feb 2007, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: is it behaving strange ?" > on Fri, 16 Feb 2007 04:45:38 +0900, dblack@wobblini.net writes: > > |irb(main):001:0> a = [9,5] > |=> [9, 5] > |irb(main):002:0> b = 9,5,6 > |=> [9, 5, 6] > |irb(main):003:0> b = *a, 6 > |=> [9, 5] > |irb(main):004:0> b = [*a, 6] > |=> [9, 5, 6] > | > |I don't really understand the third one. I would have expected it to > |be the same as the second. I haven't tried a more recent 1.9 version, > |though -- maybe it's been changed. > > You don't understand because it's a bug. I will fix it soon. Cool, thanks. David -- Q. What is THE Ruby book for Rails developers? A. RUBY FOR RAILS by David A. Black (http://www.manning.com/black) (See what readers are saying! http://www.rubypal.com/r4rrevs.pdf) Q. Where can I get Ruby/Rails on-site training, consulting, coaching? A. Ruby Power and Light, LLC (http://www.rubypal.com)