On 01.12.2006 13:14, Martin DeMello wrote:
> Took me aback - there seems to be no reason for OpenStruct *not* to
> permit member access via ostruct[:field] and ostruct['field'].

OpenStruct also does not inherit Enumerable.  I guess the story is, if 
you need a Hash then use a Hash.  The key point of OpenStruct is that 
you can use arbitrary member setters and getters not indexed access.  Is 
there actually a situation where you need both?

Kind regards

	robert