lib/axlsx/drawing/pie_series.rb in axlsx-1.0.13 vs lib/axlsx/drawing/pie_series.rb in axlsx-1.0.14
- old
+ new
@@ -36,10 +36,10 @@
# Serializes the series
# @param [Nokogiri::XML::Builder] xml The document builder instance this objects xml will be added to.
# @return [String]
def to_xml(xml)
super(xml) do |xml_inner|
- xml_inner.send('c:explosion', :val=>@explosion) unless @explosion.nil?
+ xml_inner.explosion :val=>@explosion unless @explosion.nil?
@labels.to_xml(xml_inner) unless @labels.nil?
@data.to_xml(xml_inner) unless @data.nil?
end
end
private