summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/stylesheet/color.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-10-18 22:34:33 +0900
committerRandy Morgan <[email protected]>2012-10-18 22:34:33 +0900
commite0736deb4a3260651c531b459aac3f80fdbe4be4 (patch)
tree4c1120c65e8a04ae93ad154ada7f267f861eb04f /lib/axlsx/stylesheet/color.rb
parent2d0815b2bd24f895ece4f368871f70f219517f26 (diff)
downloadcaxlsx-e0736deb4a3260651c531b459aac3f80fdbe4be4.tar.gz
caxlsx-e0736deb4a3260651c531b459aac3f80fdbe4be4.zip
Updated color to_xml_string to use snake cased tag_name
Diffstat (limited to 'lib/axlsx/stylesheet/color.rb')
-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