diff options
Diffstat (limited to 'test.sh')
-rw-r--r-- | test.sh | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -26,10 +26,23 @@ class B; do done +class C; do + extends B + + function thing() { + echo "<$self> C/thing ($*)" + + $self next/method "$@" + } + +done + A new-into objA B new-into objB +C new-into objC $objA thing 1 2 3 $objB thing 4 5 6 -$objB other 7 8 9 +$objC thing 7 8 9 +$objB other a b c |