From: Robert Klemme Date: 2005-04-02T07:14:52+09:00 Subject: Re: private inner class "Glenn Parker" schrieb im Newsbeitrag news:424DB5F9.6000808@comcast.net... > John-Mason P. Shackelford wrote: >> In ruby is it possible to have a private innner class? Using private >> method doesn't appear to work. >> >> class A >> private >> class B >> def hw >> 'hello_world' >> end >> end >> end >> >> A::B.new.hw # => 'hello world' > > p A::B.new.hw => "hello world" ? robert