Project

General

Profile

Feature #11390

Allow symbols starting with numbers

Added by v0dro (Sameer Deshmukh) over 5 years ago. Updated over 5 years ago.

Status:
Open
Priority:
Normal
Target version:
-
[ruby-core:70090]

Description

Currently it is not possible to create a symbol that looks like :1twothree.

Converting to a string and then symbolizing causes hash lookup problems and proves counter-intuitive. What's also surprising is that ruby allows symbols to start with special characters but not numbers.

Also available in: Atom PDF