From e0736deb4a3260651c531b459aac3f80fdbe4be4 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Thu, 18 Oct 2012 22:34:33 +0900 Subject: Updated color to_xml_string to use snake cased tag_name --- lib/axlsx/stylesheet/color.rb | 4 ++-- 1 file 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 -- cgit v1.2.3