RoloLudo/RoloLudo.package/SfAsset.class/instance/abilitiesAsWikiTextFor.marked..st

12 lines
297 B
Smalltalk
Raw Permalink Normal View History

utilities
abilitiesAsWikiTextFor: abilitiesSubset marked: unicodeSymbol
| aStream |
aStream := '' writeStream.
abilitiesSubset do: [:abi|
aStream
nextPutAll: ' <li> ', unicodeSymbol ; cr;
nextPutAll: ' ';
nextPutAll: abi; cr;
nextPutAll: ' </li>'; cr ].
^ aStream contents