From: Parker Selbert Date: 2010-10-18T01:15:58+09:00 Subject: Re: simple question: pointer equivalent in ruby Shea Barton wrote in post #954956: > OR even > > value = 5 > othervalue = value > othervalue = 3 > value (should be 3) That is precisely how ruby works by default. If you wanted othervalue to just take the 'value' of value, i.e. 3, you would use this instead: value = 5 other = value.dup puts other #5 other = 3 puts other #3 puts value #5 -- Posted via http://www.ruby-forum.com/.