Closed exAspArk closed 9 years ago
I suspect that this will not be needed later on when we stop subclassing Hash
- I'm not sure that even this patch it going to be fully satisfying.
Also worth noting that the params you pass into this object have different meaning than what you'd pass into a Hash
@soulcutter thank you.
Yes, I agree with you and think that it's better to stop subclassing Hash
.
Hi,
There is a rare case with serialize method from
ActiveRecord
. When I'm trying to useSaxerator::Builder::HashElement
through this serialization it raises an error about wrong number of arguments (0 for 2).Can we save the same
initialize
method's behavior as a behavior of parent class? To be able to useSaxerator::Builder::HashElement.new
likeHash.new