Ruby instância variabnl obtenha
some_object.instance_variable_get("@#{name}")
Repulsive Raven
some_object.instance_variable_get("@#{name}")