Skip to content

Commit

Permalink
Merge pull request #526 from StephanEggermont/patch-1
Browse files Browse the repository at this point in the history
Update StGenericGenerator.class.st
  • Loading branch information
jecisc authored May 20, 2023
2 parents 1e9a7e3 + 47341cf commit 2eec124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NewTools-Spotter-Processors/StGenericGenerator.class.st
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"
I wrap a generator to provide the same API than the iterators.
I wrap a generator to provide the same API as the iterators.
My subclasses should implement #elementsDo: to iterate the collection or implement the values.
In this method, each of the generated values should be used with the valuable pased.
Expand All @@ -11,7 +11,7 @@ elementsDo: aValuable
This example generates an infinite iterator always returning 42.
Using the generator will produce that the method is only executed on demand.
This Iterator can also wrap collections, iterating one element at the time.
This Iterator can also wrap collections, iterating one element at a time.
Ex:
elementsDo: aValuable
Expand Down

0 comments on commit 2eec124

Please sign in to comment.