Skip to content

Commit 45ae270

Browse files
authored
Merge pull request SeasideSt#197 from tukanos/extendingCode
Tests in WADefaultScriptGenerator are using portable write steam in GS
2 parents 4a3377d + 8b98314 commit 45ae270

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
*grease-gemstone-core
2+
greaseNext: anInteger putAll: aCollection startingAt: startIndex
3+
"Store the next anInteger elements from the given collection."
4+
5+
(startIndex = 1 and:[anInteger = aCollection size])
6+
ifTrue:[^self nextPutAll: aCollection].
7+
^self nextPutAll: (aCollection copyFrom: startIndex to: startIndex+anInteger-1)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{
2+
"name" : "WriteStreamPortable" }

0 commit comments

Comments
 (0)