1. Tech

Articles related to ruby symbols

Symbols - Ruby - About.com
Symbols are everywhere in Ruby code but, having no analog in other programming languages, they're often misunderstood.
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 ...
Hashes - Ruby - About.com
You will (probably) never see a non-trivial Ruby program that does not use Hashes ... And remember that keys can be any object, but are typically Symbols.
40th Anniversary Celebration Suggestions and Ideas - Marriage
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 ...
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 ...
The Magic of Symbol#to_proc - Ruby - About.com
When you pass an object as an explicit block parameter, Ruby first checks to see ... It's much shorter, and has less symbols, and it's pretty clear what the intent is.
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 ...
'String Literals' in Ruby - About.com
The basics of strings, string interpolation, single and double quotes, escape sequences and alternate string literal syntaxes.
Constants in Ruby - About.com
Like just about every programming language every conceived, Ruby ... In C, for example, constants are usually implemented with preprocessor symbols and ...
1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10      Next

©2015 About.com. All rights reserved.