Subject: Define a hash using %q?
From: Joe Ruby MUDCRAP-CE <joeat303 yahoo.com>
Date: Sun, 29 Oct 2006 14:25:51 +0900
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)
Thanks,
Joe
--
Posted via http://www.ruby-forum.com/.