Moving from GrafoscopioUtils.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-09-21 12:40:05 -05:00
parent cb886d6307
commit ef469a9b85

View File

@ -0,0 +1,8 @@
Extension { #name : #String }
{ #category : #'*MiniDocs' }
String >> asDashedLowercase [
"I convert phrases like 'This is a phrase' into 'this-is-a-phrase'."
^ '-' join: (self substrings collect: [:each | each asLowercase ])
]