>> >Here an instance of class Data will be created. This instance is >> >wrapping a pointer to an allocated dbmdata struct. Furthermore this >> >Data instance will fake itself to be a DBM instance! So ruby thinks it >> >is dealing with a DBM instance instead of a Data instance. >> >> So the extra C stuff you have allocated adds itself to the other >> stuff (instance vars, etc.) in the DBM instance? > >Hmmm ... do I say 'yes' now, or do I say 'no'?!? :-/ "yes", apparently! Thanks for clarifying it. >So in that sense I should say 'yes'. The data are added to ivars. Only >you have no direct access to them via Ruby programs... >\cle /\ndy