Anonymous

Module:FunList/Iterators: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 40: Line 40:
local TableEnumerator = setmetatable({}, { __index = Enumerator })
local TableEnumerator = setmetatable({}, { __index = Enumerator })
TableEnumerator.__index = TableEnumerator
TableEnumerator.__index = TableEnumerator
TableEnumerator.__pairs = Enumerator_mt.__pairs


function TableEnumerator.new(tbl)
function TableEnumerator.new(tbl)
2,875

edits