From: Mathieu Bouchard Date: 2001-05-24T07:01:00+09:00 Subject: [ruby-talk:15625] Re: more reflection On Mon, 21 May 2001, Yukihiro Matsumoto wrote: > In message "[ruby-talk:15466] Re: more reflection" > on 01/05/21, Mathieu Bouchard writes: > |> Oops... singleton_methods do the job for most of the cases, > |> unless you really want to know existance of empty singleton > |> class, which usually can be ignored. > |Such "empty" singleton classes could be ignored if it weren't for > |foo.extend Bar, or class< > Yes. This might be a misfeature. Methods in Bar can be considered as > singleton methods. Should they? Well, if I expect: foo.singleton_methods to mean: (class< matju