summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/axlsx/stylesheet/color.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/axlsx/stylesheet/color.rb b/lib/axlsx/stylesheet/color.rb
index 8b36dbd2..744e63d5 100644
--- a/lib/axlsx/stylesheet/color.rb
+++ b/lib/axlsx/stylesheet/color.rb
@@ -69,8 +69,8 @@ module Axlsx
# Serializes the object
# @param [String] str
# @return [String]
- def to_xml_string(str = '', tagName = 'color')
- str << "<" << tagName << " "
+ def to_xml_string(str = '', tag_name = 'color')
+ str << "<" << tag_name << " "
serialized_attributes str
str << "/>"
end