3
是否有任何屬性可以獲取行的大小?如何在電子表格中獲取工作表行數?
@sheet = Spreadsheet.open(file.path).worksheet 0
@sheet.rows_count # why they didn't it?
是否有任何屬性可以獲取行的大小?如何在電子表格中獲取工作表行數?
@sheet = Spreadsheet.open(file.path).worksheet 0
@sheet.rows_count # why they didn't it?
他們這樣做,其實=>@sheet.count