Skip to content

Instantly share code, notes, and snippets.

@kilon
Created November 20, 2016 09:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kilon/1da11a34234ef84e2744a42fc7ad4e48 to your computer and use it in GitHub Desktop.
Save kilon/1da11a34234ef84e2744a42fc7ad4e48 to your computer and use it in GitHub Desktop.
fileout an hierarchy
class:=CPPBridge .
file:=(class name asString, '-hierarchy.st') asFileReference.
stream:=file writeStream.
class fileOutOn:stream.
class allSubclassesDo: [ :cls |
cls fileOutOn: stream.
].
stream close.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment