weshatheleopard/rubyXL — pull request #97 by jmagoon (2014-03-13 17:42:23+00:00)
Title: Nil worksheet

This fixes a weird problem for me where a spreadsheet opened with the parser has 'nil' entries in the rows array--for example:
```
worksheet.sheet_data.rows.each { |r| p r }
```
returns
```
#, datatype = str, style_index = 162>, #, #], @worksheet=#>

nil

nil

...

#, nil, nil, #], @worksheet=#>

```

This makes me unable to add cells or rows anywhere in the spreadsheet (as rows.cells fails with a noMethodError). This fixes that by checking for nils in the array, but the true issue might be in the parser itself.

Thanks for this gem, I'm a huge fan!