Articles related to hashes
Hashes - Ruby - About.com
Hashes. Hashes are the swiss army knife of Ruby data structures. You will see hashes absolutely everywhere, even to emulate missing language features.
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.
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, ...
Beginning Perl Tutorial - Data Types: Hashes - About Perl
Perl beginners hash tutorial - Learn to use the hash, or associative array in Perl.
Creating Hashes from Arrays - Ruby - About.com
However, the code you need to interface with expects an array of hashes, keys being column names and values being the value for that row and column. What's ...
Serialized Hashes - Ruby - About.com
Serialized Hashes. Storing your hash in a text file has numerous advantages. First, it can be edited without touching your code. Second, it can be sent over the ...
Optional Method Parameters with Hashes - Ruby - About.com
Using hashes to simulate optional named parameters in methods.
Cryptographic Hashes in Ruby - About.com
The primary way to prevent this is to use cryptographic hashes. Ruby has a number of ways to generate cryptographic hashes. Note that these are cryptographic ...
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 ...
Hash Literals - Ruby - About.com
This is by far the most common way to put data into a Hash. This is best suited for small hashes, one-off parameters to methods, or struct-like objects. The most ...