What are Ruby Symbols?
Archive - Originally posted on "The Horse's Mouth" - 2010-02-02 07:33:24 - Graham EllisRuby Symbols are names that follow a : character. They're a quick way of getting at data, where (for example) you have a fixed key or name in a hash, and you'll find them commonly used in many definitions such as in Ruby on Rails. I've put a short example [here]