Articles related to enumerable
Using the Enumerable Module - Ruby - About.com
By using the Enumerable module, you can make any of your classes act like Ruby standard collections. All you need to do is implement the 'each' method.
Enumerable: Picking Out Just What You Want - Ruby - About.com
The Enumerable mixin provides a collection interface to all manner of collections in Ruby. A collection is just what it sounds like, any object that holds a ...
Enumerable: Do Any or All Objects Match? - Ruby - About.com
Another useful thing to do with collections is see if any or all of the elements match a certain criteria. For example, if I'm gathering temperature data, I want to ...
LINQ Tutorial Five - More Enumerable Methods - C/C++/C - About.com
Take a look at the full list from Microsoft of all the Enumerable methods. Continuing on from tutorial four, one other method that extracts single elements from a ...
LINQ Tutorial Six - Yet More Enumerable Methods
We're still working our way through the Enumerable methods and we'll start with Aggregation Operators. Again if you know SQL, you may be familiar with count, ...
How to make a Visual C# class usable in a foreach statement
This step-by-step article demonstrates how to use the IEnumerable and the IEnumerator interfaces to create a class that you can use in a foreach statement.
How to Perform List Operations in Ruby - About.com
Feb 4, 2013 ... Beginning Ruby · Collections: Arrays, Hashes and Enumerable ..... Arrays, Hashes and Enumerable; How to Perform List Operations in Ruby ...
Using Collections - What does IEnumerable mean?
IEnumerable and IEnumerator are frequently tossed into technical articles these days. That's because this technique forms a core element of .NET technology.
Method for Mapping the Values of an Array - Ruby - About.com
Iterating over arrays isn't the only trick up Ruby's sleeve. Having the ability to map arrays (and other enumerable collections) is a powerful feature.
A for..in loop iterates over all of the enumerable properties and methods of an object allowing you to perform processing on all of those methods and properties ...