Remove unused Object's method "implement"

Not used in the code base.
This commit is contained in:
Francesco Abbate 2021-08-28 00:08:25 +02:00
parent d46475532f
commit 4f8de02bcf
1 changed files with 0 additions and 11 deletions

View File

@ -20,17 +20,6 @@ function Object:extend()
end end
function Object:implement(...)
for _, cls in pairs({...}) do
for k, v in pairs(cls) do
if self[k] == nil and type(v) == "function" then
self[k] = v
end
end
end
end
function Object:is(T) function Object:is(T)
local mt = getmetatable(self) local mt = getmetatable(self)
while mt do while mt do