原创 LUA Metamethods

Set = {} Set.mt = {} function Set.new (table)local retable = {}setmetatable(retable, Set.mt)for i, v i