On Thu, May 08, 2003 at 09:05:56PM +0900, Jim Freeze wrote: > On Thursday, 8 May 2003 at 19:33:43 +0900, Tim Bates wrote: > > On Thu, May 08, 2003 at 07:07:37PM +0900, Jim Freeze wrote: > > > So, this is a new way to circument access privelages? > > > > No, not really. You've always been able to do it, with > > Object#instance_eval. > > Right. This is yet another way to circumvent access privelages. > #send is another. > > This method is even better (worse) than instance_eval, > it gives you a list of instance variable names. We can just add it to our list of evil methods :-) Seriously, I wouldn't call this "a new way to circumvent access privileges". It is so easy to neglect them that they are mostly a hint for the programmer ("you're not expected to play with this, but had better know what you're doing otherwise"). This is good however as Ruby is not only a man-machine language but also man-man (check ts' postings ;-) -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com Never trust an operating system you don't have sources for. ;-) -- Unknown source