From: "Christoph R." Date: 2003-09-17T23:27:48+09:00 Subject: Re: clearing a parameter in Ruby? Austin Ziegler wrote: .... > class ImmutablesArray < Array > def push(it) > it.freeze > super > end > end > > Roughly. There's a few other methods you would want to implement (like #pop) > to unfreeze as you pop the item, but this should work in general. You can't ``unfreeze'' frozen objects (this should be quite easy in C b.t.w.) . .... /Christoph