Jump to content

Module:OutputBuffer: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Jackmcbarn (talk | contribs)
Created page with 'return function() local buffer = {} return function(text) buffer[#buffer + 1] = text end, function(sep) return table.concat(buffer, sep) end end'
(No difference)

Revision as of 23:45, 25 June 2014

return function()
	local buffer = {}
	return function(text)
		buffer[#buffer + 1] = text
	end,
	function(sep)
		return table.concat(buffer, sep)
	end
end