lib/axlsx/workbook/worksheet/row.rb in axlsx-1.1.1 vs lib/axlsx/workbook/worksheet/row.rb in axlsx-1.1.2
- old
+ new
@@ -130,9 +130,11 @@
cell_style = style.is_a?(Array) ? style[index] : style
options[:style] = cell_style if cell_style
cell_type = types.is_a?(Array)? types[index] : types
options[:type] = cell_type if cell_type
Cell.new(self, value, options)
+ options.delete(:style)
+ options.delete(:type)
end
end
end
end