From: Gary Wright Date: 2007-03-31T06:23:07+09:00 Subject: Re: Is there a library/mechanism for an object/hash hybrid? On Mar 30, 2007, at 4:15 PM, Jan Friedrich wrote: > Gary Wright schrieb: >> OpenStruct doesn't define access via the indexing method: >> >> info = OpenStruct.new >> >> info.name = 'Gary' >> info[:name] # undefined method > It's Ruby, define it. :) Of course. I was just pointing out that OpenStruct didn't actually provide the features that the OP had asked for. You can always roll your own. Gary Wright