# File lib/spreadsheet/excel/writer/worksheet.rb, line 344 def write_colinfos cols = @worksheet.columns bunch = [] cols.each_with_index do |column, idx| if column bunch << column if cols[idx.next] != column write_colinfo bunch bunch.clear end end end end