Socialmetrica/Socialmetrica.package/NitterUser.class/instance/exportWithTemplate.On..st

9 lines
304 B
Smalltalk

accessing
exportWithTemplate: mustacheFile On: folder
| mustacheDoc |
self exportProfileImageOn:folder / userName, '-profileImage.jpg'.
mustacheDoc := mustacheFile asMustacheTemplate value: self asDictionary.
MarkupFile
exportAsFileOn: (folder / self userName , 'tex')
containing: mustacheDoc