From: Stephen Cox Date: 2008-05-02T03:06:43+09:00 Subject: Re: References in Ruby David A. Black wrote: > Hi -- > > On Thu, 1 May 2008, marc wrote: > >>> Why?? Since everything is a reference in Ruby I expected "puts 50". >> >> The way I think of it is that 10 and 50 are objects. > > And indeed they are :-) > > > David Wait, I'm a noob. And I see it this way: a = 10 b = a # b is NOW 10 a = 50 # what's that got to do with B? B has already been assigned. I know I'm came to the same answer, but am I thinking this through the right way? -- Posted via http://www.ruby-forum.com/.