Aug. 12, 2011
10:36 a.m.
On 12 Aug 2011, at 11:40, Stéphane Ducasse wrote:
Hi veronica
I'm reading your changes again and I have some questions:
environment: namespace
namespace = self class environment ifFalse:[ environment := namespace ]
why that? is it because you want to have pointer to Smalltalk globals by default for your ring objects? You would be mixing RING and Smalltalk classes?
A ring object can set a ring environment, if not it uses the default smalltalk environment without keeping a pointer to it. #environment: is call when adding elements (e.g. when adding a class to a package) to propagate the (ring) environment It won't mix, it will use the Ring environment (e.g. a RGNamespace) or the smalltalk environment
Stef