feat: specified simple toPath method

pull/227/head
alestiago 3 years ago
parent b81dfe7d1a
commit 27cb5bbfd3

@ -31,7 +31,6 @@ extension StoryAddGame on Story {
extension on String {
String toPath() {
// TODO(alstiago): format string to as a path name.
return this;
return replaceAll(' ', '_')..toLowerCase();
}
}

Loading…
Cancel
Save