Today I am starting a series of posts sharing some short (I hope) Pharo scripts which can be useful for others in the community. I have published some of them in the mailing list, so it is also an attempt to resurrect them from the oblivion. The first script goal is to programmatically rename an instance variable in MyClass from oldName to newName (tested in Pharo 6.1):
(RBRenameInstanceVariableRefactoring rename: 'oldName' to: 'newName' in: MyClass) execute
0 comentarios:
Publicar un comentario