Method: Spreadsheet::Excel::Reader#read_dimensions
- Defined in:
- lib/spreadsheet/excel/reader.rb
#read_dimensions(worksheet, work, pos, len) ⇒ Object
260 261 262 263 264 265 266 267 268 |
# File 'lib/spreadsheet/excel/reader.rb', line 260 def read_dimensions worksheet, work, pos, len # Offset Size Contents # 0 4 Index to first used row # 4 4 Index to last used row, increased by 1 # 8 2 Index to first used column # 10 2 Index to last used column, increased by 1 # 12 2 Not used worksheet.set_dimensions work.unpack(binfmt(:dimensions)), pos, len end |