From: Paul Brannan Date: 2004-06-10T00:59:43+09:00 Subject: Re: question about private method On Wed, Jun 09, 2004 at 04:08:38PM +0900, wang wrote: > class Test > def func > self.test #use self > end > > private > def test > p "test" > end > end If you want to do this, use protected instead of private. I guess this means you can't have private accessors: class Foo def initialize self.foo = 1 end private attr_accessor :foo end but I've never seen a case where I wanted to do that. Paul