From: ts Date: 2003-06-08T23:25:56+09:00 Subject: Re: reflection >>>>> "c" == culley harrelson writes: c> puts 'guess the method:' c> while gets # there is a \n at the end and you've forgotten to remove it chomp! c> if test.respond_to?($_) c> puts 'correct!' c> exit c> end c> puts 'incorrect guess, please try again:' c> end Guy Decoux