我想使用重构浏览器以编程方式将实例变量添加到现有类:
| theClass className |
className := #MyClass.
theClass := (RBClass existingNamed: className)
model: (RBNamespace new classNamed: className; yourself);
yourself.
theClass addInstanceVariable: 'testIVar'
但是类没有被新的实例变量修改,我错过了什么?