Closed mculp closed 11 years ago
Currently, if you subclass RecursiveOpenStruct, any nested hashes get created as RecursiveOpenStruct objects instead of the subclass.
RecursiveOpenStruct
To fix this, I changed all instances of the RecursiveOpenStruct constant to self.class.
self.class
Currently, if you subclass
RecursiveOpenStruct
, any nested hashes get created asRecursiveOpenStruct
objects instead of the subclass.To fix this, I changed all instances of the
RecursiveOpenStruct
constant toself.class
.