Skip to content

Commit

Permalink
fixing #665
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Jul 21, 2024
1 parent 4efff9d commit 3202a54
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Microdown/MicElement.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ MicElement >> propertyAt: aKey [
{ #category : 'properties' }
MicElement >> propertyAt: aKey ifAbsent: aBlock [
"Answer the property value associated with aKey or, if aKey isn't found, answer the result of evaluating aBlock."
^ self properties isNil
ifTrue: [ aBlock value ]
ifFalse: [ self properties at: aKey ifAbsent: aBlock ]

^ self properties
ifNil: [ aBlock value ]
ifNotNil: [ self properties at: aKey ifAbsent: aBlock ]
]

{ #category : 'properties' }
Expand Down

0 comments on commit 3202a54

Please sign in to comment.