lib/Base/SVGContainer.rb
def to_xml
			xml = "<#{@name} #{attributes_string}>\n"
			xml += @svg_objects.map{|o| o.to_xml}.join("\n")
			xml += "\n</#{@name}>"
			return xml
		end
#Import the svg elements that can be in the container
#We need to import them within the class to break the circular
#dependency, some of these classes require the class SVGContainer
#to be available
Import the svg elements that can be in the container
We need to import them within the class to break the circular
dependency, some of these classes require the class SVGContainer
to be available
Import the svg elements that can be in the container We need to import them within the class to break the circular dependency some of these classes require the class SVGContainer to be available
def to_xml
			xml = "<#{@name} #{attributes_string}>\n"
			xml += @svg_objects.map{|o| o.to_xml}.join("\n")
			xml += "\n</#{@name}>"
			return xml
		end
def to_xml xml = "<#{@name} #{attributes_string}>\n" xml += @svg_objects . map { | o | o . to_xml } . join ( "\n" ) xml += "\n</#{@name}>" return xml end
Import the svg elements that can be in the container
We need to import them within the class to break the circular
dependency, some of these classes require the class SVGContainer
to be available
Import the svg elements that can be in the container We need to import them within the class to break the circular dependency some of these classes require the class SVGContainer to be available