Arrays
You can iterate over nested arrays:
[[1, 2], [3, 4]].each { |(a, b)| p "a: #{ a }", "b: #{ b }" }
The following syntax is allowed too:
[[1, 2], [3, 4]].each { |a, b| "a: #{ a }", "b: #{ b }" }
Will produce:
"a: 1"
"b: 2"
...