big refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-20 13:04:44 +02:00
parent 9c2598646d
commit 180905f089
5 changed files with 52 additions and 68 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ end
do
local mt = {__call = function(self, key) return self[key] end}
function public.hashset(...)
function public.hashset(...) -- TODO rename/remove?
local self = {}
for i=1,arg.n do self[arg[i]] = true end
return setmetatable(self, mt)