John-Li/my_programs — comment on commit ef497cb2d8eac5eb00306534fa12d7a7745ed12c
File:  line 0
By gmile:

My solution:

```ruby
def method_4(array_2d)
array_2d.each_with_index do |row, index|
if index.even?
temp_row = array_2d[index + 1]
array_2d[index + 1] = row
array_2d[index] = temp_row
end
end
end
```
Will test both for performance later today.