-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Here is what I forced to write in the rule checker.
checkMissingPeriodInMath: aMath
| captionText |
"clearly a problem in math caption"
captionText := (aMath captionElements collect: [ :each | each text ]).
captionText ifEmpty: [ ^ self ].
captionText trimRight last = $. ifFalse: [
results add: (MicPeriodInCaptionResult new
micElement: aMath;
inFile: aMath fromFile;
codeShouldEndWithPeriod: codeShouldEndWithPeriod) ]
caption is defined as
caption
^ (self arguments at: #caption ifAbsent: [ ^ 'No Caption' ]) printString
and we end up with anArray (....)
totally wrong
Metadata
Metadata
Assignees
Labels
No labels