7stud -- wrote:

> In C++, references are sometimes called 'aliases'.  But ruby also has 
> aliases:
> 
> x = "hello"
> y = x
> 
> y[0] = "H"
> puts x, y   //Hello  Hello

but does Ruby have something like:

x = "hello"
y = (whatever &*) x
y = "bye"

and both x, y will print out as "bye"?

-- 
Posted via http://www.ruby-forum.com/.