From: James Edward Gray II Date: 2006-01-29T01:13:26+09:00 Subject: Re: listing Object.methods On Jan 28, 2006, at 3:52 AM, Eero Saynatkari wrote: > On 2006.01.28 18:39, Alex Combas wrote: >> Something like this, but better. >> >> `Foo.new.methods - Object.methods` > > As a workaround, you can do this: > > class << foo; self; end.instance_methods false Do we really need a singleton class for that? I prefer: self.class.instance_methods(false) James Edward Gray II