Method: ExcelValidator::ValidateFile#row_is_empty?
- Defined in:
- lib/excel_validator.rb
#row_is_empty?(sheet_number, row) ⇒ Boolean
checks if the specified row is empty
74 75 76 77 78 79 |
# File 'lib/excel_validator.rb', line 74 def row_is_empty?(sheet_number, row) @file.first_column.upto @file.last_column do |column| return false if @file.cell(row,column).nil? != true end true end |