diff options
| author | Zsolt Kozaroczy <[email protected]> | 2023-05-05 11:45:59 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-05 11:45:59 +0200 |
| commit | 916ba45a77302bcd6e81f2a61a6cff6a2f1f8367 (patch) | |
| tree | cf28aa1a8ca2c39e03ddca16086ec85b77410269 /lib/axlsx/drawing/bubble_chart.rb | |
| parent | 3d10ac1e1b067de94e4344b25cbfeecd7bf4bdde (diff) | |
| parent | 816ca05a3903fa4595c4e8382c6201e2615e72f4 (diff) | |
| download | caxlsx-916ba45a77302bcd6e81f2a61a6cff6a2f1f8367.tar.gz caxlsx-916ba45a77302bcd6e81f2a61a6cff6a2f1f8367.zip | |
Merge pull request #219 from pkmiec/frozenStrings
Frozen strings
Diffstat (limited to 'lib/axlsx/drawing/bubble_chart.rb')
| -rw-r--r-- | lib/axlsx/drawing/bubble_chart.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/axlsx/drawing/bubble_chart.rb b/lib/axlsx/drawing/bubble_chart.rb index 084d0477..b4932042 100644 --- a/lib/axlsx/drawing/bubble_chart.rb +++ b/lib/axlsx/drawing/bubble_chart.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Axlsx # The BubbleChart allows you to insert a bubble chart into your worksheet # @see Worksheet#add_chart @@ -33,10 +35,10 @@ module Axlsx # Serializes the object # @param [String] str # @return [String] - def to_xml_string(str = '') + def to_xml_string(str = +'') super(str) do str << '<c:bubbleChart>' - str << ('<c:varyColors val="' << vary_colors.to_s << '"/>') + str << (+'<c:varyColors val="' << vary_colors.to_s << '"/>') @series.each { |ser| ser.to_xml_string(str) } d_lbls.to_xml_string(str) if @d_lbls axes.to_xml_string(str, :ids => true) |
