Hi, I wrote a code like this. class ABC attr_accesor :first, :second end when I wrote the following: x = ABC.new x.first = "test" puts x.instance_variables the output was only @first Is there a possibility to get also the unassigned variables? I mean, they exist, but they are only nil. Thanks so far Bernd -- Posted via http://www.ruby-forum.com/.