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 Perform List Operations in Ruby - About.com
Feb 4, 2013 ... ... Spirituality · Sports · Videos. Share this. About.com · About Tech · Ruby . . . Beginning Ruby · Collections: Arrays, Hashes and Enumerable ...
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 ...
CSV Example: Sorting and Column Widths - Ruby - About.com
But to sort anything more complex, you're going to have to learn a bit about how Array#sort (or more accurately, Enumerable#sort, since Array uses the ...
Using Collections - What does IEnumerable mean? - Visual Basic
IEnumerable and IEnumerator are frequently tossed into technical articles these days. That's because this technique forms a core element of .NET technology.