June 7, 2017
2:18 p.m.
2017-06-07 14:53 GMT+02:00 Steven Costiou <steven.costiou@kloum.io>:
I want to do the following:
B adoptInstance: a
It does'nt work, for what i understand it is because the format of the classes are different (B has an inst var and A has not).
Yes, #adopt checks class format. Use need to use #become to achieve what you want: a becomeForward: B new