[PATCH] Added specs for Marshal-ing a subclassed Hash object
Reported by Jared Luxenberg | March 1st, 2008 @ 10:49 PM | in 1.0 preview
If the Hash class is subclassed, and that subclass takes a parameter in its initialization method, then an instance of this class cannot be loaded by Marshal.load.
Added specs for Marshal-ing a subclassed Hash object that takes a
parameter in its initialization function.
- Test that Marshal.dump gives correct output for such an object
(this works already)
- Test that Marshal.load is able to deal such an object
(this does not work currently)
Comments and changes to this ticket
-
Wilson Bilkovich March 1st, 2008 @ 11:21 PM
- → State changed from new to resolved
- → Assigned user changed from to Wilson Bilkovich
Applied with some modifications to HEAD just moments ago.
Thanks.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
