From: Armin Roehrl Date: 2002-04-15T02:27:35+09:00 Subject: Re: inspect object attributes > obj = Obj2.new > inspect obj -> ['val1', 'val2', 'val3', 'val4'] Play with sth. like this >t2=3 #any object >obj.methods - t2.methods gives ["val4", "val4=", "val3=", "val3", "val2", "val2=", "val1", "val1="] Armin. ----------------------------------------------- Armin Roehrl, http://www.approximity.com Training, Development and Mentoring OOP, XP, Java, Ruby, Smalltalk, Datamining, Parallel computing, Webservices Koautor des ersten dt. Rubybuches http://approximity.com/rubybuch/ Naechstes Rubyseminar: 9/9-11/9 in Hamburg.