1. Tech

Articles related to arrays and hashes

Creating Hashes from Arrays - Ruby - About.com
These will be the keys for the final hashes. The rows array is an array of arrays, holding the actual tabular data. The objective, once again, is to end up with an ...
How to Create and Use Hashes in Ruby - About.com
This article explains and teaches how to use a associative arrays (hashes) as a way to store multiple variables in one data structure.
Building Hashes From Arrays - Ruby - About.com
It's often useful to build hashes from an array. This can be done easily using the Hash[ … ] syntax. It'll take an unlimited number of arguments (as long as it's an ...
Everything You Wanted To Know About Hashes - Ruby - About.com
Hashes are the bread and butter of Ruby data structures. For any unordered structure, you'll find hashes used everywhere. If it's ordered, you'll see arrays used, ...
Hashes - Ruby - About.com
This all comes down to how hashes (also called "associative arrays") work. Hashes are a tree structure of smaller arrays. In memory, the tree structure is index by ...
Ruby's Basic Features: Blocks, Loops, Arrays & more - About.com
This article explains and teaches how to use a associative arrays (hashes) as a way to ... There's more to do with hashes than just store and retrieve objects.
Mapping Arrays - Ruby - About.com
Having the ability to map arrays (and other enumerable collections) is a powerful ... A Quick Guide to Creating and Using Hashes in Ruby · A Quick Guide to ...
Using JSON: Structure of a JSON Document - Ruby - About.com
Also, unlike XML, JSON sticks to Arrays and Hashes for its document structure, whereas XML is much more free-form. While this may sound like a disadvantage  ...
Introduction to Arrays - Ruby - About.com
In fact, it's quite odd that you may have learned about Hashes before Arrays as many Ruby programmers do. In many languages, the Hash is a rather small ...
How to Make Deep Copies in Ruby - About.com
It will only be as deep as the first array, any deeper arrays, hashes or other object will only be shallow copied. There is another method worth mentioning, clone.
1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10      Next

©2015 About.com. All rights reserved.