lib/write_xlsx/worksheet.rb in write_xlsx-1.09.3 vs lib/write_xlsx/worksheet.rb in write_xlsx-1.09.4

- old
+ new

@@ -3543,10 +3543,10 @@ # # Write the <filters> element. # def write_filters(*filters) #:nodoc: - non_blanks = filters.reject { |filter| filter =~ /^blanks$/i } + non_blanks = filters.reject { |filter| filter.to_s =~ /^blanks$/i } attributes = [] if filters != non_blanks attributes = [ ['blank', 1] ] end