def column_widths(*widths)
      widths.each_with_index do |value, index|
        next if value == nil
        Axlsx::validate_unsigned_numeric(value) unless value == nil
        find_or_create_column_info(index).width = value
      end
    end
def column_widths(*widths)
      widths.each_with_index do |value, index|
        next if value == nil
        Axlsx::validate_unsigned_numeric(value) unless value == nil
        find_or_create_column_info(index).width = value
      end
    end
This is a helper method that Lets you specify a fixed width for multiple columns in a worksheet in one go.
 Note that you must call column_widths AFTER adding data, otherwise the width will not be set successfully.
 Setting a fixed column width to nil will revert the behaviour back to calculating the width for you on the next call to add_row.
 @example This would set the first and third column widhts but leave the second column in autofit state.
      ws.column_widths 7.2, nil, 3
 @note For updating only a single column it is probably easier to just set the width of the ws.column_info[col_index].width directly
 @param [Integer|Float|nil] widths