From: "David A. Black" Date: 2005-10-03T21:18:26+09:00 Subject: Re: class/singleton methods Hi -- On Mon, 3 Oct 2005, ES wrote: > David A. Black wrote: >> >> As far as I know that's the only situation where an object can call >> another object's singleton method. > > Hm? > > class Foo > end > > f = Foo.new > > def f.foo() > puts 'foo' > end > > f.foo I think you must have misunderstood me. What I mean is: as far as I know, class methods are the only per-object methods (defined as obj.meth) that an object other than the object they were defined on has in its method search path. David -- David A. Black dblack@wobblini.net