RoloLudo/RoloLudo.package/SfTruth.class/instance/fromDictionary..st

6 lines
253 B
Smalltalk
Raw Normal View History

accessing
fromDictionary: aDictionary
name := aDictionary at: 'Name'.
character := aDictionary at: 'Character'.
(aDictionary at: 'Truths') collect: [:truth | self options add: ((SfTruthOption new fromDictionary: truth))].
self refineOptionIntervals.