spreadsheet icon indicating copy to clipboard operation
spreadsheet copied to clipboard

Columns Attr in Worksheet not being Updated anywhere

Open AhmedKamal20 opened this issue 5 years ago • 1 comments

https://github.com/zdavatz/spreadsheet/blob/1d746dd225440260756545761d400b21e890a223/lib/spreadsheet/worksheet.rb#L55

I don't see any code that update the columns array, like for example the update for the rows array here: https://github.com/zdavatz/spreadsheet/blob/1d746dd225440260756545761d400b21e890a223/lib/spreadsheet/worksheet.rb#L231

that result that when i call columns on a sheet filled with columns, it return an empty array.

AhmedKamal20 avatar Jun 11 '19 14:06 AhmedKamal20

Let me know if you find a solution or come up with a patch.

zdavatz avatar Jun 11 '19 15:06 zdavatz