Template Method: Smalltalk
Define the skeletal steps of a seance, letting subclasses override specific incantations.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Template Method
ARCANUM SCHOOL: Evocation // Seance Scripting
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// SMALLTALK PATTERN //
Object subclass: #BaseSeance
instanceVariableNames: ''
classVariableNames: ''
package: 'Tekromancy-Seance'.
BaseSeance >> conductSeance [
self dimLights.
self invokeSpirit.
self closePortal.
]
BaseSeance >> invokeSpirit [ self subclassResponsibility ]
The absolute unyielding flow of the ritual is preserved in the base class, while subclasses fill in the blanks.
Runic Tags:
#smalltalk
#behavioral
#seance