Hi,
In message "Re: Ruby doesn't implement x++ for Fixnum's because ???"
on Thu, 5 Nov 2009 04:25:05 +0900, RichardOnRails <RichardDummyMailbox58407 / USComputerGurus.com> 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.