diff options
author | Gianni Ceccarelli <gianni.ceccarelli@broadbean.com> | 2023-07-14 16:36:10 +0100 |
---|---|---|
committer | Gianni Ceccarelli <gianni.ceccarelli@broadbean.com> | 2023-07-14 16:36:10 +0100 |
commit | 86c37a00dd9ec82c261e3c9f7997051aabaa228b (patch) | |
tree | b682b6e94d62e293aefa353008b33f85b57c6ed3 /test.sh | |
parent | some sugaring (diff) | |
download | bash-object-system-86c37a00dd9ec82c261e3c9f7997051aabaa228b.tar.gz bash-object-system-86c37a00dd9ec82c261e3c9f7997051aabaa228b.tar.bz2 bash-object-system-86c37a00dd9ec82c261e3c9f7997051aabaa228b.zip |
constructors & class methods!
"class methods" are not actually a thing, we declare a function for
each class, that invokes on the class name and object-id=0 (object-id
start from 1 for real objects)
Diffstat (limited to 'test.sh')
-rw-r--r-- | test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,8 +26,8 @@ class B; do done -bos-object-id/pack-self-into A 0 objA -bos-object-id/pack-self-into B 0 objB +A new-into objA +B new-into objB $objA thing 1 2 3 $objB thing 4 5 6 |