Smalltalk examples and concepts
The FizzBuzz solution contains of 3 files. Best viewed in RAW mode.
- FizzBuzz.st
- FizzBuzzChecker.st
- FizzBuzzRunner.st
After FileIn the source code to a Smalltalk image, the output can be started with the following command:
FizzBuzzRunner new start: <startvalue> end: <endvalue>
Replace the placeholder and with your values of choice.
Example:
FizzBuzzRunner new start: 1 end: 30
The relations between the different objects, I tried to illustrate as follows.