From: Logan Capaldo Date: 2006-08-14T11:26:45+09:00 Subject: Re: Newbie at ruby - syntactic sugar for Range / Array On Aug 12, 2006, at 7:39 PM, dblack@wobblini.net wrote: > > Yes, that's a more cogent explanation, and it accounts for: > > a, b = "abc\ndef" => a == "abc\n", b = "def" irb(main):047:0> a, b = "abc\ndef" => ["abc\ndef"] irb(main):048:0> p a "abc\ndef" => nil irb(main):049:0> p b nil => nil irb(main):050:0> RUBY_VERSION => "1.8.4" Oh I see, it works with *"abc\ndef". Weird seeing it there.