> However, you might want to think about alternative designs to get the > same effect... this is going to get messy pretty quickly :) Yes. very messy. OK, here's another question. Is it possible to get the "name" of a variable that is passed as an argument. i.e., something like: class A def setvars(*vars) vars.each { |v| puts v # want access to the name of the variable that was # passed in (such as "i" and "j") as well as the value. } end end class B def initialize(j) i = 1; a = A.new a.setvars(i, j) end end b = B.new("joe") I know I could do something like: a.setvars('i' => i, 'j' => j) but I'd like to avoid that... Thanks, -joe