From: Li Chen Date: 2006-12-18T02:45:08+09:00 Subject: Re: why private is not private > Also as you'd expect, instantiating a new Object and then calling the > private method blows up: > > irb(main):007:0> o = Object.new > => # > irb(main):008:0> o.method1 > NoMethodError: private method `method1' called for # > from (irb):8 > from :0 Thanks a lot, Pat. I am much clear about the concept now. Li -- Posted via http://www.ruby-forum.com/.