Adapter: Smalltalk
Translate the alien whispers of ancient spirits into a protocol the modern seance table understands.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Adapter
ARCANUM SCHOOL: Transmutation // Spirit Channeling
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// SMALLTALK PATTERN //
Object subclass: #OuijaAdapter
instanceVariableNames: 'ancientSpirit'
classVariableNames: ''
package: 'Tekromancy-Seance'.
OuijaAdapter >> answerQuestion: aString [
| alienResponse |
alienResponse := ancientSpirit kharGath: aString.
^ self translateToEnglish: alienResponse
]
Bridge the gap between incompatible spectral interfaces. The medium translates.
Runic Tags:
#smalltalk
#structural
#seance