summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/stylesheet/table_style.rb
diff options
context:
space:
mode:
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>'