Having
local Class = {}
Class.__meta = {__index=Class}
function Class.new() return setmetatable({}, Class.__meta)
Assuming we want to change the behavior of a single instance object = Class.new() using a metatable,
there are a few mistakes to avoid:
setmetatable(object, {__call = table.conca...