More modular code. Pending! Redundancies should be revised.
This commit is contained in:
parent
62a5c398d1
commit
1b66316d03
@ -8,6 +8,17 @@ LePharoSnippet >> contentAsStringCustomized [
|
|||||||
^ thisObject perform: self detectMessage trimmed asSymbol.
|
^ thisObject perform: self detectMessage trimmed asSymbol.
|
||||||
]
|
]
|
||||||
|
|
||||||
|
{ #category : #'*MiniDocs' }
|
||||||
|
LePharoSnippet >> fromDictionary: anOrderedDictionary [
|
||||||
|
self
|
||||||
|
uid: (LeUID new uidString: (anOrderedDictionary at: 'id'));
|
||||||
|
parent: (anOrderedDictionary at: 'parent');
|
||||||
|
createTime: (LeTime new time: ((anOrderedDictionary at: 'created')asDateAndTime));
|
||||||
|
editTime: (LeTime new time: ((anOrderedDictionary at: 'modified') asDateAndTime));
|
||||||
|
editEmail: (anOrderedDictionary at: 'modifier');
|
||||||
|
createEmail: (anOrderedDictionary at: 'creator').
|
||||||
|
]
|
||||||
|
|
||||||
{ #category : #'*MiniDocs' }
|
{ #category : #'*MiniDocs' }
|
||||||
LePharoSnippet >> fromMarkdeep: markdeepDiv [
|
LePharoSnippet >> fromMarkdeep: markdeepDiv [
|
||||||
|
|
||||||
|
@ -18,6 +18,17 @@ LeTextSnippet >> asLePage [
|
|||||||
^ page.
|
^ page.
|
||||||
]
|
]
|
||||||
|
|
||||||
|
{ #category : #'*MiniDocs' }
|
||||||
|
LeTextSnippet >> fromDictionary: anOrderedDictionary [
|
||||||
|
self
|
||||||
|
uid: (LeUID new uidString: (anOrderedDictionary at: 'id'));
|
||||||
|
parent: (anOrderedDictionary at: 'parent');
|
||||||
|
createTime: (LeTime new time: ((anOrderedDictionary at: 'created')asDateAndTime));
|
||||||
|
editTime: (LeTime new time: ((anOrderedDictionary at: 'modified') asDateAndTime));
|
||||||
|
editEmail: (anOrderedDictionary at: 'modifier');
|
||||||
|
createEmail: (anOrderedDictionary at: 'creator')
|
||||||
|
]
|
||||||
|
|
||||||
{ #category : #'*MiniDocs' }
|
{ #category : #'*MiniDocs' }
|
||||||
LeTextSnippet >> fromMarkdeep: markdeepDiv [
|
LeTextSnippet >> fromMarkdeep: markdeepDiv [
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user