On Thu, 20 Jan 2005 02:17:19 +0900, Mohammad Khan <mkhan / lextranet.com> wrote: >> a, b, and c are not objects. They're variables. > Isn't everything *object* in Ruby? > Now you know, what I am after ?! Yes, and no. a = 1 b = 2 c = 3 The values 1, 2, and 3 are objects. a, b, and c are not objects. def foo(a, b, c) end In #foo, a, b, and c are most definitely NOT objects -- they're variables that (will) contain references to objects. In Ruby, variables are names, not memory slots. a = b = 1 The real memory slot is more or less identified by Object#id. The variable is just a convenience label for that object. Change the object that the label is pointing to, and you just change the position of the label's name. You're not actually changing the memory location involved. What you're after is something you shouldn't do with Ruby. Rethink your design. -austin -- Austin Ziegler * halostatue / gmail.com * Alternate: austin / halostatue.ca