Removing unnecessary methods.

This commit is contained in:
ruidajo 2022-04-20 14:13:02 -05:00
parent e43b375a6b
commit 1e06d16801
2 changed files with 0 additions and 14 deletions

View File

@ -1,9 +0,0 @@
accessing
ifEmpty: aBlock
"Evaluate the given block, answering its value if the receiver is empty, otherwise answer the receiver."
"Note that the fact that this method returns its receiver in case the receiver is not empty allows one to write expressions like the following ones: self classifyMethodAs: (myProtocol ifEmpty: ['As yet unclassified'])"
^ self isEmpty
ifTrue: [ aBlock value ]
ifFalse: [ self ]

View File

@ -1,5 +0,0 @@
accessing
isEmpty
"Answer whether the receiver contains any elements."
^self size = 0