But environment is a business of classes and not instances.
So environment is a class method and this is normal.
And if you need to access from an instance method
self class environment… makes it.
Stef
> Stef,
>
> On 12 Nov 2011, at 23:04, Stéphane Ducasse wrote:
>
>> environment should be used in a method while Smalltalk globals more for
>> scripts.
>
> Yeah, but Nick's point is that #environment is a class method, not an
> instance method, and maybe it would be handy on the instance side.
>
> Sven