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



-- 
http://bugs.ruby-lang.org/