From: Paul Brannan Date: 2001-08-31T22:54:14+09:00 Subject: [ruby-talk:20627] Re: Weird things with eval On Fri, 31 Aug 2001, David Alan Black wrote: > It's good to know about though, since it seems to mean that access > rules can be easily circumvented. Not that they are otherwise > ironclad... but this behavior of #send did occasion, for me, a bit of > (dare I say it?) surprise :-) > > > David Is there any reason why send() could not be changed to obey the access rules? I can see the usefulness in being able to call private methods on an object (with poorly-written libraries, for example), so perhaps the current send() function could be renamed to __send_dont_ever_use_this_method_because_it_breaks_access_rules__? Paul