lib/axlsx/stylesheet/border_pr.rb in axlsx-2.0.1 vs lib/axlsx/stylesheet/border_pr.rb in axlsx-2.1.0.pre

- old
+ new

@@ -60,12 +60,12 @@ # Serializes the object # @param [String] str # @return [String] def to_xml_string(str = '') - str << '<' << @name.to_s << ' style="' << @style.to_s << '">' + str << ('<' << @name.to_s << ' style="' << @style.to_s << '">') @color.to_xml_string(str) if @color.is_a?(Color) - str << '</' << @name.to_s << '>' + str << ('</' << @name.to_s << '>') end end end