1. Technology

Articles related to ruby symbols

Symbols - Ruby - About.com
Symbols. Symbols are used everywhere in Ruby code. They're most often used as hash keys, but in various other places as well. Most new Rubyists know ...
The Magic of Symbol#to_proc - Ruby - About.com
The Symbol#to_proc method is a shortcut or convenience method used in a ... When you pass an object as an explicit block parameter, Ruby first checks to see  ...
What's new in Ruby 2.1.0: Strings - About.com
Among Ruby 2.1.0's changes are a few additions to Ruby's String capabilities. ... Frozen strings are created once, and are immutable just like symbols, but all of ...
40th Anniversary Celebration Suggestions and Ideas
Here are some 40th wedding anniversary ideas and symbols to help you choose gifts associated with your 40th ruby marriage anniversary that will be both ...
Hashes - Ruby - About.com
You will (probably) never see a non-trivial Ruby program that does not use ... acts as the key (this object is typically a Symbol, String or more rarely, an integer, ...
What is the Difference Between alias and ... - Ruby - About.com
But, thankfully, you can at least make this look a bit more Ruby-like by using symbols, the alias method seems to like symbols just fine. So you could say alias  ...
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 ... Say you have an array of symbols, as well as a hash. For each symbol in the ...
Serialization in Ruby: YAML - About.com
Loading this into a Ruby program will result in a hash. There will be three ... Symbols are only one extra character, but strings are more often used. Be aware that ...
Using Attributes With Ruby - About.com
Ruby doesn't make a distinction between these things, but it does give you some ... It takes any number of symbol parameters and, for each parameter, defines a ...
Hash Quick Reference - Ruby - About.com
As Ruby releases move forward, more and more methods get added to the base ... The keys in this example are all symbols, as this is idiomatic Ruby, but the ...
1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10      Next

©2014 About.com. All rights reserved.