Hi,
In message "[ruby-talk:15466] Re: more reflection"
on 01/05/21, Mathieu Bouchard <matju / sympatico.ca> 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<<foo; include Bar; end, isn't it?
Yes. This might be a misfeature. Methods in Bar can be considered as
singleton methods. Should they?
matz.