I have this 2D array:

```
arr = [[1,2],[3,4]]

```

I usually do:

```
CSV.open(file) do |csv| 
  arr.each do |row| 
    csv << row
  end
end

```

Is there any easier or direct way of doing it other than adding row by row?