On Sunday 06 June 2004 15:18, Jean-Hugues ROBERT wrote:
>
> This may be somehow stupid but what about simply inheriting
> from Hash ?

Not all hash-like objects inherit from Hash, and the one real strength of 
Ruby's non-typed-ness is that you can hash-like objects without having to 
worry about the baggage that comes with Hash.  This applies to all objects, 
of course.  Breaking out of the slavery of class ancestry is truly one of 
Ruby's greatest features.  It's not a "stupid" suggestion, but to me, it's 
one that goes backwards.

	Sean O'Dell