File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed
Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -131,14 +131,6 @@ DataSeriesTest >> testAtIndex [
131131 self assert: (series atIndex: 2 ) equals: 7 .
132132]
133133
134- { #category : #tests }
135- DataSeriesTest >> testAtIndexIfAbsent [
136-
137- self assert: (series atIndex: 2 ifAbsent: [ ' Executing a block' ]) equals: 7 .
138- self assert: (series atIndex: 100 ifAbsent: [ ' Executing a block' ])
139- equals: ' Executing a block' .
140- ]
141-
142134{ #category : #tests }
143135DataSeriesTest >> testAtIndexPut [
144136
Original file line number Diff line number Diff line change @@ -85,11 +85,6 @@ DataSeries >> atIndex: aNumber [
8585 ^ self at: (self keys at: aNumber)
8686]
8787
88- { #category : #accessing }
89- DataSeries >> atIndex: aNumber ifAbsent: aBlock [
90- ^ [ self at: (self keys at: aNumber) ] on: SubscriptOutOfBounds do: aBlock
91- ]
92-
9388{ #category : #accessing }
9489DataSeries >> atIndex: aNumber put: aValue [
9590 ^ self at: (self keys at: aNumber) put: aValue
You can’t perform that action at this time.
0 commit comments