From: RichardOnRails Date: 2009-11-08T08:10:13+09:00 Subject: Re: Ruby doesn't implement x++ for Fixnum's because ??? On Nov 4, 4:59 pm, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: Ruby doesn't implement x++ for Fixnum's because ???" >     on Thu, 5 Nov 2009 04:25:05 +0900, RichardOnRails writes: > > |BTW,  I'm not advocating x++ for Ruby.  I'm just trying to understand > |whether Ruby would literally change 1 to 2 as opposed to change a > |variable that contains 1 to subsequently contain 2. > > There's no way to modify local variables by sending message in Ruby. > >                                                         matz. Thanks for your response, Matz. I've got to study David Black's book more thoroughly. Best wishes, Richard