if o.respond_to? :clone instance_variable_set(name, o.clone) end end end
end
How does instance variable duplication qualify as the general
meaning of “replace”? It’s not even part of the existing
replace methods.
I didn’t actually want instance variable duplication. All I wanted was
the same bit of memory reused.
- Dan