From: Hagbard Celine Date: 2010-09-26T00:11:24+09:00 Subject: Re: Defining a class without opening an existent one Robert Klemme wrote: > creation of a class with the same name as one of > the core classes does not seem like a good idea to me - although it's > certainly possible. It may cause confusion and it also makes using > the core class more cumbersome (you need to reference it as ::Array in > the module and nested classes for example). That's true but unfortunately `Array` is just the perfect name for my class. I rather use MyNamespace::Array and ::Array instead of inventing a bad-fitting name for the class. -- Posted via http://www.ruby-forum.com/.