Jan. 20, 2016
2:05 p.m.
On Wed, Jan 20, 2016 at 8:41 PM, Dimitris Chloupis <kilon.alios@gmail.com> wrote:
So my question is this , I have a class with nil variables that are lazy initialised only when needed the first time and of course they keep their values from there on.
Lets say I get the latest update from github via metacello over an older update that I already have inside the image , do those variables revert back to nil values ?
No.
or do they keep their values as they are ?
Yes. Loading a package is only loading source code. Its no different than manually changing a method's source through the Nautilus system browser (instance & class variables keep their values throughout) except you get the whole lot in one go. cheers -ben