From: murphy Date: 2007-10-28T22:29:43+09:00 Subject: Re: What happened to h = {1,2,3,4,5,6} in 1.9? David A. Black wrote: > h = {1,2,3,4,5,6} > > raise an error in Ruby 1.9. It's such a nice, quick way to write a > hash. Is it really disappearing? I guess because it's counter-intuitive, error-prone, hard to read/debug, and thus, rarely used? I don't know where it came from (Perl? ;) but do we really need it? we have {a:1, b:2, c:3} now for symbol keys...which seems much more useful to me. maybe it was here: > Fri Jun 29 14:51:24 2007 Yukihiro Matsumoto > > * parse.y (assoc_list): remove expanded hash literal (no splat). however, you can still use Hash[1,2,3,4,5,6] [murphy]