Skip to content

Commit 8c295fa

Browse files
committed
copy method #pharoVersionsFrom: that is not available for all Pharo versions
1 parent ce08e43 commit 8c295fa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/BaselineOfTeapot/BaselineOfTeapot.class.st

+6
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ BaselineOfTeapot >> baseline: spec [
3030
]
3131
]
3232

33+
{ #category : 'baselines' }
34+
BaselineOfTeapot >> pharoVersionsFrom: aVersion [
35+
"Method copied from BaselineOf to allow use of Pharo versions < 11"
36+
^ (aVersion to: SystemVersion current major) collect: [ :v | ('pharo' , v asString , '.x') asSymbol ]
37+
]
38+
3339
{ #category : 'baselines' }
3440
BaselineOfTeapot >> setUpDependencies: spec [
3541

0 commit comments

Comments
 (0)