> From: nosuzuki / e-mail.ne.jp [mailto:nosuzuki / e-mail.ne.jp]On Behalf Of
[..]
>   h = HashMD.new
>   h['a']['b']['c'] = 'xxx'  #=>  {"a" => {"b" => {"c" => "xxx"}}}
Hi, 


why don't you write

h = {'a'=>{'b'=>{'c'=>'xxx'}}}

it creates what you want and you actually type less.

Christoph

[..]