How to validate specific cell format attribute

24 views
Skip to first unread message

Gabriela Vital

unread,
Jun 11, 2018, 3:28:35 PM6/11/18
to spreadsheet
Hello.

I am trying to validate a cell format info. I wonder if there's a way of doing this?
I found on stackoverflow a solution that says to use inspect(example below). Is there another way to validate a specific attribute?

example:
a = Spreadsheet.open('/folder/spreadsheet.xls')
puts a.worksheets[0].row(<rownumber>).format(<columnnumber>).inspect

Thanks
Reply all
Reply to author
Forward
0 new messages