From: Glenn Parker Date: 2005-04-02T05:59:00+09:00 Subject: Re: private inner class 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" -- Glenn Parker | glenn.parker-AT-comcast.net |