TiddlyWikiPharo/repository/TiddlyWiki/TiddlyWikiExamples.class.st

15 lines
405 B
Smalltalk
Raw Normal View History

2024-05-29 14:42:33 +00:00
Class {
#name : #TiddlyWikiExamples,
#superclass : #Object,
#category : #'TiddlyWiki-Model'
}
{ #category : #accessing }
TiddlyWikiExamples >> createDefaultWiki [
<gtExample>
<description: 'I create a wiki with the default seed as a temporal file.'>
TWSeed deleteWikiFileFromFolder: FileLocator temp andSubfolder: 'test'.
^ TWSeed installDefaultInto: FileLocator temp as: 'test'
]