Improving data extraction.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-12-26 16:31:32 -05:00
parent 030f54cfd7
commit e9b199f77f

View File

@ -8,7 +8,7 @@ Class {
'journal',
'importJournal'
],
#category : 'TiddlyWiki-Model'
#category : #'TiddlyWiki-Model'
}
{ #category : #accessing }
@ -23,8 +23,8 @@ FedWikiPage >> dataDictionary [
{ #category : #accessing }
FedWikiPage >> fromDataDictionary [
title := self dataDictionary at: 'title'.
story := self dataDictionary at: 'story'.
title := self title.
story := self story.
self importJournal ifTrue: [ journal := self dataDictionary at: 'journal'].
]
@ -71,12 +71,12 @@ FedWikiPage >> scheme [
{ #category : #accessing }
FedWikiPage >> story [
^ story
^ self dataDictionary at: 'story'
]
{ #category : #accessing }
FedWikiPage >> title [
^ title.
^ self dataDictionary at: 'title'
]
{ #category : #accessing }