2,875
edits
No edit summary |
No edit summary |
||
Line 59: | Line 59: | ||
function TableEnumerator.new(tbl) | function TableEnumerator.new(tbl) | ||
assert(tbl, 'Table value cannot be nil') | |||
local self = setmetatable(Enumerator.new(), TableEnumerator) | local self = setmetatable(Enumerator.new(), TableEnumerator) | ||
self.tbl = tbl | self.tbl = tbl |
edits