Skip to content

Commit c52322b

Browse files
author
aless.hosry
committed
Comment spaceship
1 parent 9053fef commit c52322b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

MoTion/Object.extension.st

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ Extension { #name : 'Object' }
22

33
{ #category : '*MoTion' }
44
Object >> <=> aMatcherObject [
5+
6+
"The SpaceShip operator tries to match a property (of an object) on the left with a value on the right.
7+
It is a polymorphic operator depending on the content in the Property. If this is an object, the operator tries to match this object to the Value; If it is a collection, the operator tries to match any element of the collection to the Value."
8+
59
^ self -> aMatcherObject
610
]
711

0 commit comments

Comments
 (0)