Skip to content

Commit

Permalink
Categorize = as part of 'comparing' protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchodias committed Feb 2, 2021
1 parent 749986c commit 402633a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Iceberg-TipUI/IceTipCachedModel.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ IceTipCachedModel class >> for: anObject [
^ self basicNew initializeObject: anObject
]

{ #category : #accessing }
IceTipCachedModel >> = aObject [
self species ~= aObject species
ifTrue: [^ false].
{ #category : #comparing }
IceTipCachedModel >> = aObject [

self species ~= aObject species ifTrue: [ ^ false ].
^ self realObject = aObject realObject
]

Expand Down Expand Up @@ -51,6 +51,7 @@ IceTipCachedModel >> forwardMessage: aMessage [

{ #category : #comparing }
IceTipCachedModel >> hash [

^ self realObject hash
]

Expand Down

0 comments on commit 402633a

Please sign in to comment.