From: Quintus Date: 2012-05-06T21:29:07+09:00 Subject: Re: proper way to create truly new dup/cloned object? Am 06.05.2012 12:54, schrieb ruby gem: > a = "pass" > b = a.dup > b = "fail" > puts a > > fails the test. I tried with clone also. What is the proper syntax for > what I am trying to do? > I’m not sure what you’re trying to accomplish with this code. When this finishes executing, it will output "pass"; maybe you could explain why this isn’t what you expect? Btw. the `b' variable is entirely useless because you don’t use it for anything. Vale, Marvin