From: Sean O'Halpin Date: 2006-07-08T01:52:52+09:00 Subject: Re: About 1.9 #__method__ feature. On 7/7/06, dblack@wobblini.net wrote: > I just think that > "receiverlessness" is a matter of concrete, visible coding style, and > not a language-level concept that has any meaning apart from how > method calls are actually expressed. > > > David > Hi David, I'm not sure I follow you here. Doesn't the following show that it's not just a matter of coding style? class Foo def hi puts "hi" end private :hi def foo hi end def bar self.hi # will fail end end f = Foo.new f.foo f.bar #=>private method `hi' called for # (NoMethodError) #f.hi would also fail as expected Regards, Sean