From: gabriele renzi Date: 2003-07-30T11:09:44+09:00 Subject: Re: Builtin objects namespace il 27 Jul 2003 14:08:17 -0700, eric.anderson@sterlingpresence.com (Eric Anderson) ha scritto:: >What namespace are the builtin objects? I want to create an object in >other module that has the same name and uses the builtin object. For >example, if I wanted to create a hash that operated in a "special" >manor. I would create: > >module Special >class Hash < Builtin::Hash >end >end > >But from what I can tell the builtin hash is not in a namespace. So >how do I do this? I think you can always refer to the root namespace with ::Class I mean: irb(main):001:0> module Special irb(main):002:1> class Hash < ::Hash irb(main):003:2> end irb(main):004:1> end => nil