davincicoders/ruby_koans_RKB1923 — pull request #5 by RKB1923 (2014-03-05 20:38:26+00:00)
Title: Fixes 65851404_about_array_assignment_master

* I learned that a non-parallel assignment is just a single variable with no "," assigned to an array
* A parallel assignment is also a single variable, but it has a "," after the name to signify it is a parallel
assignment. It will be assigned the value of the first element in the array
* Parallel assignment of variables to an array will assign each variable to an array element in the order
in which it's assigned
* If there are more elements than variables, the extra are ignored
* If there are less elements than variables, the extra variables are assigned "nil"
* If there are subarrays in the array, they are considered a single "element"
* Splats will assign all remaining elements to a single variable
* You can use variable assignments to alter the value of variables

[#65851404]