Displaying 1 result from an estimated 1 matches for "dumped_obj".
2006 Jul 21
0
[RESOLVED] Marshal.dump not dumping entire object?
...e -
but the answer may be interesting for those who choose Marshal over
Serialize.
So, to close this off I don''t know why marshal.dump wasn''t ''dumping''
all attributes, but adding custom marshaling to PDate did the trick.
ala,
+ def marshal_dump
+ dumped_obj = [date_precision, ajd, sg, of]
+ dumped_obj
+ end
+
+ def marshal_load(dumped_obj)
+ @date_precision, @ajd, @sg, @of = dumped_obj
+ end
For those that use Runt, I''ve submitted a patch.
cheers,
Jodi
-----------
Greetings,
I first want to say that this problem is h...