Ricewind
Created page with "-- Makes the class that inherits this enumerable with pairs and ipairs --- @class Enumerable local Enumerable = {} local Enumerable_mt = { __index = Enumerable, __pairs = Enumerable.getPairs, __ipairs = Enumerable.getiPairs } function Enumerable.new() local self = setmetatable({}, Enumerable_mt) return self end --- Enumerate all elements --- @param isArray? boolean --- @return Enumerator function Enumerable:getEnumerator(isArray) error("This method must be implem..."