[<<][lua][>>][..]Mon Apr 6 16:06:56 EDT 2020
-- FIXME: There must be a library function for this. function new(class, obj) setmetatable( obj, {__index = function(o,k) return class[k] or rawget(o,k) end } ) return init_obj end -- THERE IS! function new(class, obj) setmetatable(obj, {__index = class }) return obj end
[Reply][About]
[<<][lua][>>][..]