summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/stylesheet/table_style.rb
diff options
context:
space:
mode:
authorZsolt Kozaroczy <[email protected]>2023-06-27 09:30:10 +0200
committerGitHub <[email protected]>2023-06-27 09:30:10 +0200
commitf2f6177efac76e6015b98c3290fd1839b8568fbe (patch)
tree37551b930bdb8ed3c18e16d8f3e71e9540dad85a /lib/axlsx/stylesheet/table_style.rb
parentc18a19b0d3277de2c00380a91b26248dcb34cc51 (diff)
parent988c79b8d7602c67f7b761269383129609cf63a7 (diff)
downloadcaxlsx-f2f6177efac76e6015b98c3290fd1839b8568fbe.tar.gz
caxlsx-f2f6177efac76e6015b98c3290fd1839b8568fbe.zip
Merge pull request #285 from tagliala/chore/fix-redundant-self-offenses
Fix redundant self offenses
Diffstat (limited to 'lib/axlsx/stylesheet/table_style.rb')
-rw-r--r--lib/axlsx/stylesheet/table_style.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/stylesheet/table_style.rb b/lib/axlsx/stylesheet/table_style.rb
index 4bfd7cf5..95d10ce0 100644
--- a/lib/axlsx/stylesheet/table_style.rb
+++ b/lib/axlsx/stylesheet/table_style.rb
@@ -44,7 +44,7 @@ module Axlsx
# @return [String]
def to_xml_string(str = +'')
str << '<tableStyle '
- serialized_attributes str, { count: self.size }
+ serialized_attributes str, { count: size }
str << '>'
each { |table_style_el| table_style_el.to_xml_string(str) }
str << '</tableStyle>'