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

12 lines
262 B
Smalltalk
Raw Normal View History

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