Method: TableSetting::Row#fill

Defined in:
lib/table_setting/row.rb

#fillObject



73
74
75
76
77
78
79
# File 'lib/table_setting/row.rb', line 73

def fill
  if num_columns < sheet.num_columns and
    !filled?
    filler_columns = sheet.num_columns - num_columns
    filler_cell = self.new_cell('', span: filler_columns).to_html
  end
end