Issue #4276 has been updated by drbrain (Eric Hodel). Sorry, this feature is too late for 2.0.0 ---------------------------------------- Feature #4276: Allow use of quotes in symbol syntactic sugar for hashes https://bugs.ruby-lang.org/issues/4276#change-34235 Author: tbenst (Tyler Benster) Status: Assigned Priority: Low Assignee: matz (Yukihiro Matsumoto) Category: core Target version: next minor =begin Current syntactic sugar allows this: hash = {Alabama: "AL"} This feature request is to also allow symbols delimited by quotes (and thus able to contain a whitespace) to use an equivalent syntactic sugar: hash2 = {"Rhode Island": "RI"} =end
on 2012-11-30 20:41
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.