*** empty log message ***
This commit is contained in:
13
ase/test/stx/helper.st
Normal file
13
ase/test/stx/helper.st
Normal file
@ -0,0 +1,13 @@
|
||||
| x |
|
||||
"print the reverse hierarchy of a class"
|
||||
x := Class.
|
||||
[x isNil] whileFalse: [
|
||||
Transcript show: x printString; cr.
|
||||
x := x superclass].
|
||||
|
||||
| x |
|
||||
"print the reverse hierarchy of a metaclass"
|
||||
x := Class class.
|
||||
[x isNil] whileFalse: [
|
||||
Transcript show: x printString; cr.
|
||||
x := x superclass].
|
Reference in New Issue
Block a user