lib/Base/SVGContainer.rb
def polyline(*args)
			s = SVG::Polyline.new(*args)
			yield s if block_given?	
			@svg_objects << s
			return s 
		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 polyline(*args)
			s = SVG::Polyline.new(*args)
			yield s if block_given?	
			@svg_objects << s
			return s 
		end
def polyline ( * args ) s = SVG :: Polyline . new ( * args ) yield s if block_given? @svg_objects << s return s 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
args