From: Alin Popa Date: 2007-06-29T16:57:46+09:00 Subject: Re: Calling private method in ruby Daniel DeLorme wrote: > Alin Popa wrote: >> Thanks Stefano, >> >> But my issue is not "what is a private method". >> I'm curios about "send" method, why there is a workaround to get to >> private methods from OUTSIDE when this shouldn't happen ? > > You can also do obj.instance_eval{ privmethod() } > > This is because ruby is a language that ALLOWS you to do things, not > RESTRICT you from doing things. It's a matter of philosophy. > > Daniel Thank you Daniel, I think you cleared my problem. Alin -- Posted via http://www.ruby-forum.com/.