Sections
symbols
1 thread tagged with this topic
Threads tagged symbols
- ✓
What is a symbol in Ruby, and when should I use one instead of a string?
A symbol is a name that Ruby keeps as one shared object, written with a colon like :name. Use a symbol for labels that identify something, such as hash keys...
0replies