2,875
edits
No edit summary |
(Add ipairs override) |
||
Line 123: | Line 123: | ||
return self.nextFunc, self.contextFactory(), self.index | return self.nextFunc, self.contextFactory(), self.index | ||
end; | end; | ||
__ipairs = function(self) | |||
return self.nextFunc, self.contextFactory(), 0 | |||
end; | |||
} | } | ||
Enumerator3.__index = Enumerator3 | Enumerator3.__index = Enumerator3 |
edits