From: gabriele renzi Date: 2004-05-15T02:53:52+09:00 Subject: Re: [RCR] subclasses of string as hash keys il Fri, 14 May 2004 20:48:49 +0900, Matthias Georgi ha scritto:: > >namespace A > > class String > end > > x = "xxx" # syntactic sugar for String.new("xxx") > # statically looking up constant String resolves to A::String > # => A::String.new("xxx") > >end remove namespace and name it module. Than make class declaration semantic differnt so that it is like: module M class String < ::String end end Now add the magic that include M should merge M::String and String. Then post anrcr and I'll vote for it :))