From: Eero Saynatkari Date: 2006-09-18T11:21:35+09:00 Subject: Re: Splat, #to_ary and #to_a Eero Saynatkari wrote: > Hi! > > 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"] On the same topic, this is a strange parsing: stream.puts ([] << obj).join("\n") Above is the same as writing: stream.puts([] << obj).join("\n") -- Posted via http://www.ruby-forum.com/.