G
goodieboy
Hi,
Does anyone know of a good recursive merge method for Hashes? I'd like
to be able to do something like:
new_h = first.merge_r(second).merge_r(third)
... everything would be a copy, and hashes applied later in the
sequence override the previous finally, returning a completely new
hash... is there something out there like this?
Thanks,
Matt
Does anyone know of a good recursive merge method for Hashes? I'd like
to be able to do something like:
new_h = first.merge_r(second).merge_r(third)
... everything would be a copy, and hashes applied later in the
sequence override the previous finally, returning a completely new
hash... is there something out there like this?
Thanks,
Matt