The core issue lies in how Ruby manages references to objects. When you assign a mutable object to an instance variable, you're not creating a copy; you're creating a reference. Modifying the object ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results