Hi,
I added a new rule: RBSmalltalkGlobalsRule
The idea is that this catches all uses of “Smalltalk” where instead “Smalltalk
globals” should be used.
It is not yet complete, but has for now:
replace: 'Smalltalk allClasses'
with: 'Smalltalk globals allClasses';
replace: 'Smalltalk allClassesDo: `@statements'
with: 'Smalltalk globals allClassesDo: `@statements';
replace: 'Smalltalk allTraits'
with: 'Smalltalk globals allTraits';
replace: 'Smalltalk includes:`@statements'
with: 'Smalltalk globals includes: `@statements';
replace: 'Smalltalk flushClassNameCache'
with: 'Smalltalk globals flushClassNameCache';
replace: 'Smalltalk includesKey: `@statements'
with: 'Smalltalk globals includesKey: `@statements’.
Marcus