Hi,

Could you try to reduce the problem to a simple script and attach it to our tracker? It's hard to know what's wrong otherwise. Marshaling hashes (even those with singleton classes) is supposed to work

Thanks a lot in advance,

Laurent

On May 17, 2010, at 5:55 AM, Wladj wrote:

Hi,

in a little macruby-cocoa app when i try to save a simple hash (attribute of a model class) inside the fileWrapperOfType method via Marshal.load( Marshal.dump(@model.data)) #deep copy , i get an error:

`fileWrapperOfType:error:': can't dump anonymous class #<Class:0x20065e4e0> (TypeError)

i discover that the hash attribute of the class is referenced as anonymous class child of an Hash
this happens with MacRuby 0.6 (also last nightly build), not with 0.5
Thanks for any help and workaround
Ciao

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel