Skip to content

Commit 8ff1ded

Browse files
author
Johan Brichau
committed
add greaseBeginsWith: and greaseEndsWith: to Pharo 7 and 9 as well
1 parent 5a570b8 commit 8ff1ded

File tree

6 files changed

+30
-0
lines changed

6 files changed

+30
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*grease-gemstone-core
2+
greaseBeginsWith: aSequenceableCollection
3+
4+
aSequenceableCollection isEmpty ifTrue: [ ^ true ].
5+
^ self beginsWith: aSequenceableCollection
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*grease-gemstone-core
2+
greaseEndsWith: aSequenceableCollection
3+
4+
aSequenceableCollection isEmpty ifTrue: [ ^ true ].
5+
^ self endsWith: aSequenceableCollection
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*Grease-Pharo70-Core
2+
greaseBeginsWith: aSequenceableCollection
3+
4+
aSequenceableCollection isEmpty ifTrue: [ ^ true ].
5+
^ self beginsWith: aSequenceableCollection
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*Grease-Pharo70-Core
2+
greaseEndsWith: aSequenceableCollection
3+
4+
aSequenceableCollection isEmpty ifTrue: [ ^ true ].
5+
^ self endsWith: aSequenceableCollection
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*Grease-Pharo90-Core
2+
greaseBeginsWith: aSequenceableCollection
3+
4+
aSequenceableCollection isEmpty ifTrue: [ ^ true ].
5+
^ self beginsWith: aSequenceableCollection
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*Grease-Pharo90-Core
2+
greaseEndsWith: aSequenceableCollection
3+
4+
aSequenceableCollection isEmpty ifTrue: [ ^ true ].
5+
^ self endsWith: aSequenceableCollection

0 commit comments

Comments
 (0)