removed the ensure_block field from the context object and added the <ensure> code to the preamble field of a method.
This commit is contained in:
@ -176,13 +176,13 @@
|
||||
[ i <= end ] whileTrue: [
|
||||
aBlock value: i.
|
||||
i := i + step.
|
||||
]
|
||||
].
|
||||
]
|
||||
ifFalse: [
|
||||
[ i >= end ] whileTrue: [
|
||||
aBlock value: i.
|
||||
i := i - step.
|
||||
]
|
||||
].
|
||||
].
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user