Closed dunn closed 7 years ago
What Ruby Version and what OS are you using? With what are you viewing the XLS file? Which software created the test.xls
?
Ah, sorry.
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]
Ok. Please try this with LibreOffice 5.0.x on Mac. Excel on Mac is not really supported.
Afraid to say I get the same result with LibreOffice 5.0.2.2.
Do you have a recommendation what there is to do as a solution?
Do you have a recommendation what there is to do as a solution?
I just assumed the solution would be to make them behave the same.
You mean Excel for Mac and Windows?
I mean for worksheet[0]
and worksheet.first
to do the same thing.
you want a new method for that?
I will send you an invite to Slack so we can continue our discussion there.
I'm not using this gem regularly anymore, so I'm not sure how much help I'll be.
ok!
Given this
rows.rb
:And the following
test.xls
The expected output of
bundle exec ruby rows.rb
isBut the actual output is