Skip to content

Commit 8b98314

Browse files
author
Patrik
committed
Tests in WADefaultScriptGenerator are using portable write steam in GS
1 parent eeafe13 commit 8b98314

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)