summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/drawing/series_title.rb
diff options
context:
space:
mode:
authorZsolt Kozaroczy <[email protected]>2023-06-12 09:42:32 +0200
committerGitHub <[email protected]>2023-06-12 09:42:32 +0200
commit506415434e1f5584001ab79ac9f028e5ba228ef9 (patch)
tree63a893a73f1cc51003edf218fed178bb93c604d7 /lib/axlsx/drawing/series_title.rb
parentcfb516062de3d0725b3245cc328f96d702d662d3 (diff)
parentee14c1bf5c6aaa96867eb4b90b510f91c3a614f8 (diff)
downloadcaxlsx-506415434e1f5584001ab79ac9f028e5ba228ef9.tar.gz
caxlsx-506415434e1f5584001ab79ac9f028e5ba228ef9.zip
Merge pull request #281 from tagliala/chore/fix-colon-method-call
Fix safe Style/ColonMethodCall offenses
Diffstat (limited to 'lib/axlsx/drawing/series_title.rb')
-rw-r--r--lib/axlsx/drawing/series_title.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/axlsx/drawing/series_title.rb b/lib/axlsx/drawing/series_title.rb
index 08e5e909..366fc175 100644
--- a/lib/axlsx/drawing/series_title.rb
+++ b/lib/axlsx/drawing/series_title.rb
@@ -7,11 +7,11 @@ module Axlsx
# @param [String] str
# @return [String]
def to_xml_string(str = +'')
- clean_value = Axlsx::trust_input ? @text.to_s : ::CGI.escapeHTML(Axlsx::sanitize(@text.to_s))
+ clean_value = Axlsx.trust_input ? @text.to_s : ::CGI.escapeHTML(Axlsx.sanitize(@text.to_s))
str << '<c:tx>'
str << '<c:strRef>'
- str << '<c:f>' << Axlsx::cell_range([@cell]) << '</c:f>'
+ str << '<c:f>' << Axlsx.cell_range([@cell]) << '</c:f>'
str << '<c:strCache>'
str << '<c:ptCount val="1"/>'
str << '<c:pt idx="0">'