From: Shashank Date Date: 2004-02-15T06:54:55+09:00 Subject: Re: Hash like JS Hash (code) "Gavin Kistner" wrote in message > Although I may never use it, I thought I'd share the following > experiment. I find mildly frustrating the need to type: > myHash['foo'] to access a property of my hash, when for strings > myHash.foo seems perfectly logical. (At least to me, coming from > JavaScript.) Cool ! Also take a look at Dan Berger's code snippet on RubyForge: http://rubyforge.org/snippet/detail.php?type=snippet&id=1 -- shanko