Skip to content

Commit

Permalink
BlbSpaceTallyPrinter: Improve convenience API in class-side
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchodias committed Jul 25, 2024
1 parent e9fe037 commit 0119ee6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/BlocBenchs-Printing/BlbSpaceTallyPrinter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,16 @@ Class {
}

{ #category : #examples }
BlbSpaceTallyPrinter class >> example [
BlbSpaceTallyPrinter class >> runToStdout [
<example>

3 timesRepeat: [ Smalltalk garbageCollect ].
self new run; reportOnStdout
]

{ #category : #examples }
BlbSpaceTallyPrinter class >> runToTranscript [
<example>

3 timesRepeat: [ Smalltalk garbageCollect ].
self new run; reportOnTranscript
Expand Down

0 comments on commit 0119ee6

Please sign in to comment.