From: Eero Saynatkari Date: 2006-09-18T11:55:40+09:00 Subject: Re: Splat, #to_ary and #to_a Yukihiro Matsumoto wrote: > Hi, > > In message "Re: Splat, #to_ary and #to_a" > on Mon, 18 Sep 2006 11:12:43 +0900, Eero Saynatkari > writes: > > |I suppose this just qualifies as unexpected (by me) behaviour > |but an odd thing happened when I wrote code like this: > | > | [*"foo\nbar"] # => ["foo\n", "bar"] > > It's fixed in 1.9. 1.8 will remain as it is now for the sake of > compatibility. Thank you for clarification! > matz. -- Posted via http://www.ruby-forum.com/.