From: snacktime Date: 2006-10-29T14:31:56+09:00 Subject: Re: Define a hash using %q? On 10/28/06, Joe Ruby MUDCRAP-CE wrote: > Is there a way for us lazy typists to define a hash using %q? I tried > this, but it doesn't create a hash: > > h = %q(a => b, c => d) h = {:a => b, :c => d} h = {'a' => b, 'c' => d}