From: matz@... (Yukihiro Matsumoto) Date: 2001-07-07T11:24:12+09:00 Subject: [ruby-talk:17443] Re: Marshalling Optimization Idea Hi, In message "[ruby-talk:17427] Re: Marshalling Optimization Idea" on 01/07/07, Michael Witrant writes: |It would be nice if Marshal always called the _dump method and the |Object class would provide a default one, wouldn't it? I'm thinking of different solution. new (possible) _dump would receive dumper object def _dump(dumper) ... operation specific to your class ... dumper.push(self) end The problem is I have to choose names for new _dump, dumper class and undumper class. It's always hard to choose good names. matz.