From 2d0815b2bd24f895ece4f368871f70f219517f26 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Thu, 18 Oct 2012 22:33:41 +0900 Subject: Refactored color to_xml_string to accept a tag name as colors are sometimes serialized as differntly named nodes with the same data content --- 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 b5537ac1..8b36dbd2 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 = '') - str << "" end -- cgit v1.2.3