From: Nedry Date: 2008-08-29T06:51:02+09:00 Subject: Re: Please don't flame me...why is there no "++" in Ruby again ? Yes, that really freaked me out the first time it happened to me... Need n = m.dup On Thu, Aug 28, 2008 at 10:48 PM, Martin DeMello wrote: > Also note that this will not do what you expect from other languages > > m = MyInteger.new 41 > n = m > puts m > puts n > m.send "++" > puts m > puts n > > martin > > -- Peter: I'll handle it, Lois. I read a book about this sort of thing once. Brian: Are you sure it was a book? Are you sure it wasn't nothing? Peter: Oh yeah.