From: snacktime Date: 2006-10-29T14:36:28+09:00 Subject: Re: Define a hash using %q? Hehe, never mind, no I don't know how to do that... On 10/28/06, snacktime wrote: > 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} >