From: Martin DeMello Date: 2008-10-23T07:58:06+09:00 Subject: neatest way to extend Struct I want a Structlike class that takes a hash constructor, so I can say class A < MyStruct.new(*keys); end a = A.new(:key1 => val1, :key2 => val2) Is there any way to base this off Struct? martin