Hi,
I checked Metacello configurations but I don't know where to add such
methods.
One option is to add them to Object but I don't like to add methods there.
I guess Metacello uses "template methods" somewhere but this
download+uncompress feature is not something used by all projects.
Where do yo
packaged them first :)
Stef
Le 19/4/16 15:14, Hernán Morales Durand a écrit :
Is there a chance to get this methods (or any better versions of them)
added to Metacello?
>>extractZip: fileRef in: dst
" If fileRef is a ZIP archive, uncompress its contents in dst and
delete it "
| z
Is there a chance to get this methods (or any better versions of them)
added to Metacello?
>>extractZip: fileRef in: dst
" If fileRef is a ZIP archive, uncompress its contents in dst and
delete it "
| zipArchive |
(fileRef fullName endsWith: '.zip')
ifFalse: [ ^ self ].
zi