1. Tech

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
Ruby will generate unique numbers based on this key (remember, the key can be any object, but is typically a String or Symbol) that index a "hash bucket," or ...
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  ...
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 ...
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 ...
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 ...
String Literals - Ruby - About.com
They're a very common object type in all programming languages, and Ruby has a number of high-level and a few low-level ways to create, access and ...
1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10      Next

©2014 About.com. All rights reserved.