From: matz@... (Yukihiro Matsumoto) Date: 2003-11-21T12:29:31+09:00 Subject: Re: Marshalling delegates Hi, In message "Marshalling delegates" on 03/11/21, Nathan Weston writes: |I can't seem to marshal a delegate. The code below: | |class Foo < SimpleDelegate |end | |Marshal.dump(Foo.new(nil)) | |Gives me an error: |TypeError: singleton can't be dumped | |The weird thing is that defining _dump or marshal_dump in Foo doesn't |make this problem go away. It's a bug in 1.8.0. Soon to be fixed. Thank you. matz.