[MacRuby-devel] Anonymous class

Wladj wladjmir at gmail.com
Mon May 17 05:55:57 PDT 2010


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20100517/47eb485d/attachment.html>


More information about the MacRuby-devel mailing list