From: Joel VanderWerf Date: 2007-09-23T07:13:06+09:00 Subject: Re: CplusRuby - Gluing C and Ruby One comment on inheritance in cplusruby: def self.inherited(klass) # inherit properties and c_methods self.properties.each {|k,v| klass.properties[k] = v} CplusRuby.registered_classes << klass end Re-opening a parent class after a child class has been defined and adding more properties will not propagate them to the child. And you can't simply add such properties to the end of the parent and child struct definitions, since that will make them incompatible (in the sense of casting). -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407