A Symbol is used like a string, it looks like :symbol and can be considered as if it meant "symbol" (note :symbol does not == "symbol").

The main advantage of symbols are that each reference to the same symbol is the same object id, whereas each time you use a string it is a new instantiation of an object (which can waste memory unnecessarily).

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.