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

7 lines
150 B
Smalltalk

accessing
profileImageFile
| file |
file := (self folder / 'profile-image', 'jpg').
file exists ifTrue: [ ^ file ].
^ self downloadProfileImage