[ruby-talk:02548] Re: frozen behavior

From: mengx@...
Date: 2000-04-21 14:21:48 UTC
List: ruby-talk #2548
Is it possible to make String instance frozen be
the default?  That is, one has to explicitly 'unfreeze'|'thaw' a string to
modify in place. Currently, I have to type a lot 'string'.freeze, and I
saw many other ruby programs doing the same thing.

On an unrelated topic, is there an ruby interpreter option to
turn off GC? If not, could it be added ?

Thanks

-Ted 

In This Thread

Prev Next