I would like retrieve a full list of singleton public methos for a `Foo`
module and `Foo::Bar` class.

The best thing I was able to come up with was this:

```
Foo.singleton_methods(false) & Foo.public_methods
Foo::Bar.singleton_methods(false) & Foo::Bar.public_methods
```

It feels to me that we should have a better way of doing it.

Any ideas?
(supressed text/html)
Unsubscribe: <mailto:ruby-talk-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>