diff options
author | sanine <sanine.not@pm.me> | 2022-03-01 22:49:53 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-03-01 22:49:53 -0600 |
commit | 82cf18b9163f86e4d0a1cd999d4815cc3f85a3fd (patch) | |
tree | 1bc96ae80f509ef919bb7e74500dc6b37c9e59cf /demo/Enum.lua | |
parent | 10288765588673645c1cc0a6e3d2245aff3f9080 (diff) |
clear out demo/
Diffstat (limited to 'demo/Enum.lua')
-rw-r--r-- | demo/Enum.lua | 18 |
1 files changed, 0 insertions, 18 deletions
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 |