Socialmetrica/Socialmetrica.package/NitterUser.class/instance/wordsFile.st

8 lines
189 B
Smalltalk
Raw Normal View History

accessing
wordsFile
| file |
file := (FileLocator userData / 'Socialmetrica' / self userName / self userName, 'words', 'txt').
file exists
ifFalse: [ ^ self writeWordsFile].
^ file