RoloLudo/RoloLudo.package/SfOracle.class/instance/loadCharacterNames.st

14 lines
473 B
Smalltalk
Raw Normal View History

2023-12-08 17:45:43 +00:00
accessing
loadCharacterNames
| dataSlice response |
dataSlice := (self fromRepository second at: 'Oracles') sixth.
self name: (dataSlice at: 'Display' at: 'Title').
self intro: (dataSlice at: 'Description').
response := OrderedDictionary new.
#('givenNames' 'callsigns' 'familyNames') doWithIndex: [ :key :i |
response
at: key
put: ((((dataSlice at: 'Oracles') at: i) at: 'Table') collect: [ :each | each at: 'Result' ]).
].
self options: response.
^ self