From: Jim Freeze Date: 2002-01-17T06:23:19+09:00 Subject: Re: Protecting a member hash On Thu, Jan 17, 2002 at 06:01:18AM +0900, Alan Chen wrote: > > Well you could declare []= private or protected in HashProtector. > Then access []= via send inside class test. I'd advise commenting > why you're bypassing the protection mechanisms with set_h. Not a bad idea, but I tend to shy away from such techniques since this may end up going away with 2.0. -- Jim Freeze Today is a fine day for Ruby programming. www.freeze.org