Method: ExcelValidator::ValidateFile#last_row_is?
- Defined in:
- lib/excel_validator.rb
#last_row_is?(sheet_number, row_number) ⇒ Boolean
checks that the last non_empty row in the sheet is as specified
40 41 42 43 |
# File 'lib/excel_validator.rb', line 40 def last_row_is?(sheet_number, row_number) set_default_sheet(sheet_number) @file.last_row == row_number ? true : false end |