-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convenience methods Object>>#stonEncoded and String>>#stonDecoded added
- Loading branch information
svenvc
committed
Jan 24, 2024
1 parent
5af627a
commit ab3e2b6
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
repository/STON-Core.package/Object.extension/instance/stonEncoded.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*STON-Core | ||
stonEncoded | ||
"Encode me into an STON textual representation" | ||
|
||
^ STON toStringPretty: self |
5 changes: 5 additions & 0 deletions
5
repository/STON-Core.package/String.extension/instance/stonDecoded.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*STON-Core | ||
stonDecoded | ||
"Decode me as an STON textual representation" | ||
|
||
^ STON fromString: self |