From: Anders Bengtsson Date: 2004-06-07T22:33:37+09:00 Subject: Custom marshalling with YAML Hi, I've run into a problem when replacing "Marshal.dump" with "YAML.dump". Some of my classes use custom marshalling, with "_dump" and "_load" methods. With YAML these methods are not used, which breaks the application. YAML uses an object's "to_yaml" method if available. But that method expects valid YAML code to be returned, unlike "_dump" that can return just about anything. Also there doesn't seem to be anything corresponding to "_load". Any ideas about how I can make things compatible with both Marshal and YAML at the same time? /Anders ===== __________________________________________________ Anders Bengtsson ndrsbngtssn@yahoo.se Stockholm, Sweden H�strusk och gr� moln - k�p en resa till solen p� Yahoo! Resor p� adressen http://se.docs.yahoo.com/travel/index.html