Symbol (Ruby)

A symbol is an immutable, reusable identifier written with a leading colon, like :name. Symbols are used as lightweight, memory-efficient names — especially…