module Phlex

def self.svg(&block)

Generate an SVG string using Phlex’ SVG DSL
def self.svg(&block)
	SVG.call do |component|
		receiver = block.binding.receiver
		receiver.instance_variables.each do |ivar|
			next if component.instance_variable_defined?(ivar)
			value = receiver.instance_variable_get(ivar)
			component.instance_variable_set(ivar, value)
		end
		component.instance_exec(receiver, &block)
	end
end