From: Christoph (news_chr) Date: 2003-07-30T11:09:42+09:00 Subject: Re: Builtin objects namespace "Eric Anderson" wrote in .... > 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? The ``Builtin'' Namespace is called Object - so write this as --- module Special class Hash < Object::Hash end # or more conviently class Array < Array end end puts Object::Hash == Hash # true puts Special::Hash == Hash # false puts Special::Array == Array # false ---