Logan Capaldo
8/14/2006 2:27:00 AM
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.