Skip to content

Commit

Permalink
Fix with:with: and variants for GS64
Browse files Browse the repository at this point in the history
  • Loading branch information
gcotelli committed Aug 8, 2023
1 parent 1fd3007 commit fcb3160
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions source/Buoy-Collections-GS64-Extensions/OrderedSet.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Extension { #name : #OrderedSet }

{ #category : #'*Buoy-Collections-GS64-Extensions' }
OrderedSet class >> with: firstObject with: secondObject [

^ self new
add: firstObject;
add: secondObject;
yourself
]

{ #category : #'*Buoy-Collections-GS64-Extensions' }
OrderedSet class >> with: firstObject with: secondObject with: thirdObject [

^ self new
add: firstObject;
add: secondObject;
add: thirdObject;
yourself
]

{ #category : #'*Buoy-Collections-GS64-Extensions' }
OrderedSet class >> with: firstObject with: secondObject with: thirdObject with: fourthObject [

^ self new
add: firstObject;
add: secondObject;
add: thirdObject;
add: fourthObject;
yourself
]

0 comments on commit fcb3160

Please sign in to comment.