Thanks for the reply. I think the problem lies in the library class. In the def self.build_all method to be specific. Here I need to invoke self.list_add=(val). I've managed it in the other classes but I am stuck at Library class -- Posted via http://www.ruby-forum.com/.