From 82cf18b9163f86e4d0a1cd999d4815cc3f85a3fd Mon Sep 17 00:00:00 2001 From: sanine Date: Tue, 1 Mar 2022 22:49:53 -0600 Subject: clear out demo/ --- demo/Enum.lua | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 demo/Enum.lua (limited to 'demo/Enum.lua') diff --git a/demo/Enum.lua b/demo/Enum.lua deleted file mode 100644 index d7fe469..0000000 --- a/demo/Enum.lua +++ /dev/null @@ -1,18 +0,0 @@ -local Enum = function (enumStrings) - local enumTable = {} - for _,str in pairs(enumStrings) do - enumTable[str] = str - end - - local enum = {} - setmetatable(enum, { __index = enumTable, - __newindex = function(table, key, value) - error('Attempt to edit enum!') - end - } - ) - - return enum -end - -return Enum -- cgit v1.2.1