[Ironruby-core] Frozen .NET objects
Tomas.Matousek at microsoft.com
Wed Dec 9 17:06:16 EST 2009
It has an effect:
>>> class System::Collections::ArrayList
... def foo
:0: can't modify frozen class (TypeError)
Is there another effect you expect?
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Nathan Stults
Sent: Wednesday, December 09, 2009 12:47 PM
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] Frozen .NET objects
I've noticed calling .freeze on a native .NET class does not have any effect (other than making #frozen? Return true)
Is this by design?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironruby-core