From: ts Date: 2002-05-29T01:50:09+09:00 Subject: Re: serialization - how does it really work? >>>>> "M" == Michal 'hramrach' Suchanek writes: M> | def StoreRec._dump(lvl) [...] M> | def _load(str) This is the opposite, you must define an instance method #_dump and a class method ::_load, i.e. class StoreRec < StrHash def self._load(str) # do what you want end def _dump(lvl) # do what you want end end Guy Decoux