I’ve been trying to design my read only Array data structure and I really like the idea of providing traversing options with Enumerable class, but I cannot find requirements of it. In some examples that I’ve looked, the C implementation looks for #each method, but it seems to me that it can’t be enough.
I’ve been trying to design my read only Array data structure and I really
Share
From Pickaxe p. 474 and also from the core documentation: