I am trying read a book with RubyXL, but always return me a Hex code like:
#<RubyXL::Cell:0x007f8b597c4390>
workbook = RubyXL::Parser.parse("issues.xlsx")
worksheet = workbook[0]
worksheet.extract_data # Produces a simple rectangular array that consists only of cell values (rather than the Cell objects)
worksheet = workbook[0]
#worksheet.sheet_data[0][0] # Returns cell A1 in the worksheet
logger.info worksheet[17][4]
Is necessary return the string text in the cell?
What you are doing is getting the actual cell not it's value. To get the cell value, do this:
You might need the cell for other information such as the cell styling: