ubject: Re: [Ironruby-core] Frozen .NET objects
It has an effect:
>>> System::Collections::ArrayList.freeze
=> System::Collections::ArrayList
>>> class System::Collections::ArrayList
... def foo
... end
... end
:0: can't modify frozen class (TypeError)
[email protected]
[mailto:[email protected]] On Behalf Of Nathan Stults
Sent: Wednesday, December 09, 2009 12:47 PM
To: [email protected]
Subject: [Ironruby-core] Frozen .NET objects
I've noticed calling .freeze on a native .NET class does not have any eff
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?
Thanks,
Nathan
___
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailma