From: Louis J Scoras [mailto:[email protected]]
On 11/2/06, Gavin K. [email protected] wrote:
The thing to wrap your head around here is that ‘slots’ in
an Array, and
the values in Hash objects, are very much like variables.
They point to
values, they do not contain them.
Of course. I’m just pointing out how this could be confusing to
someone who is new to ruby. Same sort of thing with the other thread
floating around about mutator methods.
Yup. To be clear, my response was not an attempt to ‘correct’ you, but
rather to help form a good mental model for anyone who might not be
clear what was going on in your example.