From: Shannon Fang Date: 2002-12-04T01:16:26+09:00 Subject: Reflection? Hi, Pls have a look at the following code: class A def mymethod p "I am A!" end end p A.ancestors p A.respond_to?("mymethod") p A.methods.sort It will give out all methods in the ancestor classes, but no A! and A.respond_to?("mymethod") will return false... Tks. Shannon _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail