lib/write_xlsx/chart/stock.rb in write_xlsx-1.10.0 vs lib/write_xlsx/chart/stock.rb in write_xlsx-1.10.1

- old
+ new

@@ -102,20 +102,20 @@ array = [] @series.each_with_index do |series, index| if index % 4 != 3 unless series.line_defined? series.line = { - :width => 2.25, - :none => 1, - :_defined => 1 + width: 2.25, + none: 1, + _defined: 1 } end unless ptrue?(series.marker) series.marker = if index % 4 == 2 - Marker.new(:type => 'dot', :size => 3) + Marker.new(type: 'dot', size: 3) else - Marker.new(:type => 'none') + Marker.new(type: 'none') end end end array << series end