From: Brian Candler Date: 2010-07-07T21:43:43+09:00 Subject: Re: Hashes don't allow preceding commas by design? Peter Hickman wrote: > So if we read through a couple of examples: > > 1: { > 2: :first => 1, > 3: :second => 2 > 4 } But I think the question is why the following isn't allowed: { :first => 1 , :second => 2 } I'd say it's just a quirk of the parser, and/or the fact that the language doesn't have a formal grammar. -- Posted via http://www.ruby-forum.com/.