From: Christian Neukirchen Date: 2005-08-05T01:03:38+09:00 Subject: Re: a restricted send (was: Re: ruby-dev summary 26468-26661) "David A. Black" writes: > Hi -- > > Another possibility would be perhaps a "secret" (or something) level > of protection: > > def x > end > > secret :x > > which would mean not even to be acknowledged as existing when > requested from outside by "send". It's likely you forget a method then, though. IMO, all methods to be called on possibly "dangerous" ways should be explictly declared. It's just too easy to create security holes. > David A. Black -- Christian Neukirchen http://chneukirchen.org