On Jul 24, 2005, at 3:01 PM, Timothy Hunter wrote:

> Trans wrote:
>
>> Wondering the general feeling about using the class namespace for
>> subclasses. Basically I have a number of specialized Hash classes:
>> OrderedHash, SyncHash, StaticHash. But I'm thinking it might be more
>> elegant to name them: Hash::Ordered, Hash::Sync, Hash::Static. Is  
>> that
>> a better way to go or no?
>> Thanks,
>> T.
>>
> Use a module to contain the classes:
>
> module Hash

Na, there's already a Hash constant defined in Ruby, so that wouldn't  
make much sense.

For what it's worth, I like the idea of moving them to the Hash  
namespace.

James Edward Gray II