RoloLudo/RoloLudo.package/FirelightsGame.class/instance/randomName.st

8 lines
250 B
Smalltalk
Raw Normal View History

2023-12-08 18:28:59 +00:00
accessing
randomName
| response|
response := self namesOracle.
^ {'Given name' -> (response at: 'givenNames') atRandom.
'callsign' -> (response at: 'callsigns') atRandom.
'Familiy name' -> (response at: 'familyNames') atRandom.
} asDictionary.