-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
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,17 @@ | ||
# How to support GS64 class options | ||
|
||
GemStone/S 64 includes some options during class creation that change the | ||
behavior of the instances. | ||
|
||
There's support in Rowan to specify these options using the Tonel format | ||
by filling the `gs_options` metadata in the class creation section. However, | ||
by default Pharo will remove this metadata when committing code losing the | ||
options. To avoid this behavior and retain the options, load the `Tool` group | ||
and send in the class `initialize` message one of the following messages: | ||
|
||
- `makeInstancesDbTransient` | ||
- `makeInstancesInvariant` | ||
- `makeInstancesNonPersistent` | ||
|
||
This will configure the options as class properties in Pharo, and later the | ||
Tonel Writer will use these options for the metadata. |