> > Other possible solution I can come up with is to use "define_method" or > "class_eval" to create methods on the lines of attr_accessor. > > I would like to know, what you would have thought this out? -- Anurag Priyam, 2nd Year Undergraduate, Department of Mechanical Engineering, IIT Kharagpur. +91-9775550642