diff options
| author | Zsolt Kozaroczy <[email protected]> | 2023-05-10 09:17:45 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-10 09:17:45 +0200 |
| commit | c7450e3ba630d6f71ae35ab32afd09e20bc7e8ac (patch) | |
| tree | a2206699b97209f5648092f9ceb08dced035a998 /lib/axlsx/drawing/num_data.rb | |
| parent | 916ba45a77302bcd6e81f2a61a6cff6a2f1f8367 (diff) | |
| parent | 88c26606594a2024e17adff9dd9853812dc839cc (diff) | |
| download | caxlsx-c7450e3ba630d6f71ae35ab32afd09e20bc7e8ac.tar.gz caxlsx-c7450e3ba630d6f71ae35ab32afd09e20bc7e8ac.zip | |
Merge pull request #220 from pkmiec/pipeDirectlyToOutput
Pipe directly to output
Diffstat (limited to 'lib/axlsx/drawing/num_data.rb')
| -rw-r--r-- | lib/axlsx/drawing/num_data.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/axlsx/drawing/num_data.rb b/lib/axlsx/drawing/num_data.rb index 79108777..fdcf505c 100644 --- a/lib/axlsx/drawing/num_data.rb +++ b/lib/axlsx/drawing/num_data.rb @@ -37,13 +37,13 @@ module Axlsx # serialize the object def to_xml_string(str = +'') - str << (+'<c:' << @tag_name.to_s << '>') - str << (+'<c:formatCode>' << format_code.to_s << '</c:formatCode>') - str << (+'<c:ptCount val="' << @pt.size.to_s << '"/>') + str << '<c:' << @tag_name.to_s << '>' + str << '<c:formatCode>' << format_code.to_s << '</c:formatCode>' + str << '<c:ptCount val="' << @pt.size.to_s << '"/>' @pt.each_with_index do |num_val, index| num_val.to_xml_string index, str end - str << (+'</c:' << @tag_name.to_s << '>') + str << '</c:' << @tag_name.to_s << '>' end end end |
