class Trenni::Template

def to_string(scope = Object.new, output = nil)

def to_string(scope = Object.new, output = nil)
	output ||= output_buffer
	
	scope.instance_exec(output, &to_proc)
	
	return output
end